Closed ramiro050 closed 2 years ago
The op torch.allclose results in a runtime error if the two input tensors are not on the same device. This commit moves the input tensors of torch.allclose to the CPU device.
torch.allclose
The op
torch.allclose
results in a runtime error if the two input tensors are not on the same device. This commit moves the input tensors oftorch.allclose
to the CPU device.