Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a couple of dynamic shape detection issues (#996)
Summary: Pull Request resolved: #996 This diff fixed a couple of issues for dynamic shape detection: * handle cases where sample tensors may not have any dynamic dimension * added two lowering configs to guide dynamic shape detection (1) can_last_dim_be_dynamic: specifies if the last dimension can be dynamic (2) can_value_one_be_dynamic: specifies if dimension value one is allowed to appear at any dynamic dimension Reviewed By: hl475 Differential Revision: D54831007 fbshipit-source-id: cc17db2dd386748fec5e4d491fc58ae975b16b7f
- Loading branch information