Skip to content

Commit 35650a4

Browse files
committed
Revert "Fix"
This reverts commit 5825706.
1 parent 6a14fb9 commit 35650a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_tv_tensors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ def test_to_wrapping(make_input):
139139
)
140140
@pytest.mark.parametrize("return_type", ["Tensor", "TVTensor"])
141141
def test_to_tv_tensor_reference(make_input, return_type):
142-
tensor = make_input().to(dtype=torch.float64).as_subclass(torch.Tensor)
143-
assert type(tensor) is torch.Tensor
142+
tensor = torch.rand((3, 16, 16), dtype=torch.float64)
144143
dp = make_input()
145144

146145
with tv_tensors.set_return_type(return_type):

0 commit comments

Comments
 (0)