Backends/SiaNet.Backend.TensorSharp/NDArray.cs
/// <summary>
/// Returns a hash code for this instance.
/// </summary>
/// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
Returns a hash code for this instance.
Returns a hash code for this instance .
public override int GetHashCode()
        {
            return
                storage.GetHashCode() ^
                storageOffset.GetHashCode() ^
                shape.Aggregate(0, (acc, item) => acc ^ item.GetHashCode()) ^
                strides.Aggregate(0, (acc, item) => acc ^ item.GetHashCode());
        }
public override int GetHashCode ( ) { return storage . GetHashCode ( ) ^ storageOffset . GetHashCode ( ) ^ shape . Aggregate ( 0 , ( acc , item ) => acc ^ item . GetHashCode ( ) ) ^ strides . Aggregate ( 0 , ( acc , item ) => acc ^ item . GetHashCode ( ) ) ; }
Returns a hash code for this instance.
Returns a hash code for this instance .
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
A hash code for this instance suitable for use in hashing algorithms and data structures like a hash table .