forked from pytorch/ao
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
register_apply_tensor_subclass
(pytorch#366)
Summary: `register_apply_tensor_subclass` allows users to add a string shortcut for a new apply_tensor_subclass function, they can use this to test their new dtype tensor subclass see `test/quantization/test_quant_api.py -k test_register_apply_tensor_subclass` for detail Test Plan: python test/quantization/test_quant_api.py -k test_register_apply_tensor_subclass Reviewers: Subscribers: Tasks: Tags:
- Loading branch information
1 parent
0252ee0
commit 924ebdc
Showing
4 changed files
with
45 additions
and
14 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