Method GetHashCode
override member GetHashCode: unit -> int
Calculates the hash code of the tensor.
Declaration
override member GetHashCode: unit -> int
Returns
| Type | Description |
|---|---|
| int | The hash code. |
Remarks
The hash code is calculated from the storage and layout of the tensor. If two tensors are equal, they will have the same hash code.