return booleanReturns True if two arrays are element-wise equal within a tolerance. torch.allclose — PyTorch 2.2 documentationelementwise, for all elements of input and other. The behaviour of this function is analogous to numpy.allclosehttps://pytorch.org/docs/stable/generated/torch.allclose.html#torch.allclose