-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register Shape Func for Some Operators to Handle Dynamic Shapes (#5955)
* Register Shape Func for Floor Operator Register the shape function for `floor` operator. Otherwise, a bug will happen when input of floor is any. * Register shape func for log * add shape function for crop_and_size * change import location * add mirror_pad shape function * add test cases for crop_and_resize and mirror_pad shape funcs * support different layout * fix pylint error * fix pylint error * add test for nchw layout * block nchw test * test for nchw * use tvm.testing.assert_allclose instead Co-authored-by: lisiyuan <lisiyuan@nucflow>
- Loading branch information
Showing
4 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters