public bool Equals(Shape?shape) { if (shape is null) { return(false); } if (ReferenceEquals(this, shape)) { return(true); } if (Rank != shape.Rank) { return(false); } return(SimdOps <int> .Equal(Dims, shape.Dims)); }