public bool Equals(Tensor <T>?tensor) { if (tensor is null) { return(false); } if (ReferenceEquals(this, tensor)) { return(true); } return(Shape == tensor.Shape && SimdOps <T> .Equals(InternalArray, tensor.InternalArray)); }
public bool Equals(T value) { return(SimdOps <T> .Equals(InternalArray, value)); }