8000 add todo · pytorch/pytorch@7253344 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7253344

Browse files
committed
add todo
1 parent 8c5114d commit 7253344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_mps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,6 +1323,7 @@ def test_binops_dtype_precedence(self):
13231323
full_sh = (20,)
13241324
#print('assert1')
13251325
for val1, val2 in itertools.product(sample_vals[dtype1], sample_vals[dtype2]):
1326+
# TODO Test equality of dtype of result tensor, not only values
13261327
self.assertEqual(
13271328
getattr(torch.tensor(val1, dtype=dtype1, device='mps'), binop)
13281329
(torch.tensor(val2, dtype=dtype2, device='mps')),

0 commit comments

Comments
 (0)
0