Method GetHashCode GetHashCode() Serves as the default hash function. Declaration public override int GetHashCode() Returns Type Description int The hash code of the tensor shape. Overrides ValueType.GetHashCode()