Commit 0b6ea6c
committed
Add mixed integer precision test for op_mul
This tests a possibly-surprising result: int8(100) * int8(100) with output type of long is 16 in ATen, even though the output type can hold 10000.
ghstack-source-id: c946ff3
ghstack-comment-id: 2917867829
Pull-Request-resolved: pytorch/executorch#112061 parent 8df4143 commit 0b6ea6c
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
749 | 764 | | |
750 | 765 | | |
751 | 766 | | |
| |||
0 commit comments