Skip to content

Commit f45b277

Browse files
committed
Updated PyTorch Eye Op tests
1 parent 2b0d171 commit f45b277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/link/pytorch/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ def test_eye():
250250
for _k in list(range(_M + 2)) + [-x for x in range(1, _N + 2)]:
251251
compare_pytorch_and_py(
252252
FunctionGraph([N, M, k], [out]),
253-
[np.array(_N + 1), np.array(_M + 1), np.array(_k)],
253+
[np.array(_N), np.array(_M), np.array(_k)],
254254
)

0 commit comments

Comments
 (0)