Skip to content

Use Union in Torchscript #4360

Open
Open
@oke-aditya

Description

@oke-aditya

🚀 The feature

Use Union in Torchscript.

pytorch/pytorch#64234

Motivation, pitch

Now that Union typing support is merged. We can rewrite the workarounds which don't support Union.
E.g we can now proceed with #4323

There maybe more places so we can track them in this Issue too.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions