Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 01c59f3

Browse files
committedMar 25, 2021
Remove for dims more than 25
1 parent 5098980 commit 01c59f3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎tensornetwork/backends/pytorch/pytorch_backend_test.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -630,14 +630,6 @@ def test_trace(dtype, offset, axis1, axis2):
630630
np.testing.assert_allclose(actual, expected, atol=1e-6, rtol=1e-6)
631631

632632

633-
def test_trace_raises():
634-
shape = tuple([1] * 30)
635-
backend = pytorch_backend.PyTorchBackend()
636-
array = backend.randn(shape, seed=10)
637-
with pytest.raises(ValueError):
638-
_ = backend.trace(array)
639-
640-
641633
@pytest.mark.parametrize("pivot_axis", [-1, 1, 2])
642634
@pytest.mark.parametrize("dtype", torch_randn_dtypes)
643635
def test_pivot(dtype, pivot_axis):

0 commit comments

Comments
 (0)
This repository has been archived.