-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Torch] Use metatypes instead of types in pattern matching (#2787)
### Changes * ~~GraphPattern type/metatype attrs are renamed~~ * `Metatypes` are used to identify type of a node instead of `type` * Elementwise metatypes updated with inplace types ### Reason for changes As number of types is going to grow (due to new TorchFX backend), it is easier to specify metatype one time instead of specifying types, which should be updated each time new type is arrived. ### Related tickets 145981 ### Tests <!--- How was the correctness of changes tested and whether new tests were added -->
- Loading branch information
1 parent
f981d53
commit 0e1c83a
Showing
9 changed files
with
262 additions
and
172 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
Oops, something went wrong.