Commit a4ce3f4
Fix type hint warnings for common_methods_invocations.py (#44971)
Summary:
Fixes a subtask of #42969
Tested the following and no warnings were seen.
python test/test_type_hints.py
....
----------------------------------------------------------------------
Ran 4 tests in 180.759s
OK
Pull Request resolved: #44971
Reviewed By: walterddr
Differential Revision: D23822274
Pulled By: visweshfb
fbshipit-source-id: e3485021e348ee0a8508a9d128f04bad721795ef1 parent c253b10 commit a4ce3f4
File tree
2 files changed
+5
-6
lines changed- torch/testing/_internal
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
1540 | 1542 | | |
1541 | 1543 | | |
1542 | 1544 | | |
1543 | | - | |
| 1545 | + | |
1544 | 1546 | | |
1545 | 1547 | | |
1546 | 1548 | | |
| |||
1602 | 1604 | | |
1603 | 1605 | | |
1604 | 1606 | | |
1605 | | - | |
| 1607 | + | |
1606 | 1608 | | |
1607 | | - | |
| 1609 | + | |
1608 | 1610 | | |
1609 | 1611 | | |
1610 | 1612 | | |
| |||
0 commit comments