Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove error anti-pattern when dealing with dynamic shape output (#12…
…1681) Summary: There are cases where capture_dynamic_output_shape_ops=True and we will still see DynamicOutputShapeException. For example, when an op doesn't have a meta kernel implemented to return the correct dynamic shape output. If we blindly give users instructions to set capture_dynamic_output_shape_ops to True, users would try it and see no change. As witnessed in this issue: pytorch/pytorch#121036 (comment) X-link: pytorch/pytorch#121681 Approved by: https://github.com/tugsbayasgalan Reviewed By: osalpekar Differential Revision: D54919382 Pulled By: gmagogsfm fbshipit-source-id: 9d022c13a22a4201f26afec844a822467a63d71e
- Loading branch information