pub fn allclose(a: &Tensor, b: &Tensor) -> Result<bool, Exception>
Compares two tensors with torch.allclose.
torch.allclose