Загрузка
This function checks if input and other satisfy the condition:
elementwise, for all elements of input and other. The behaviour of this function is analogous to
numpy.allclose
Example:
>>> torch.allclose(torch.tensor([10000., 1e-07]), torch.tensor([10000.1, 1e-08]))
False
>>> torch.allclose(torch.tensor([10000., 1e-08]), torch.
NaNFalse