Skip to content

[ONNX][pytorch] Emit Undefined type for value when it is Dynamic type#11810

Closed
jamesr66a wants to merge 1 commit intopytorch:masterfrom
jamesr66a:undefined_elem_type
Closed

[ONNX][pytorch] Emit Undefined type for value when it is Dynamic type#11810
jamesr66a wants to merge 1 commit intopytorch:masterfrom
jamesr66a:undefined_elem_type

Conversation

@jamesr66a
Copy link
Collaborator

For example, outputs of control blocks often have Dynamic type, and when we try to export them to ONNX we get an invalid proto, since elem_type is not populated on the TypeInfoProto. This makes it so at least we can get past the checker, since having a dynamic typed output from a control block should still be semantically valid

@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 18, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jamesr66a has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants