Commit 4deefd6
committed
extend test_eq_type
previously this would pass tests when comparting tensors with different dtypes
example: `test_eq_type(torch.zeros(10), torch.zeros(10, dtype=torch.float64))` would pass
now it does not1 parent 86337ba commit 4deefd6
3 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Large diffs are not rendered by default.
0 commit comments