Tensor Layout.Equals Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
Overload List
Equals( | Indicates whether this instance and a specified object are equal. |
Equals( | Compares this layout to another layout. |
Equals(Object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- The object to compare with the current instance.
Return Value
Booleantrue if obj and this instance are the same type and represent the same value; otherwise, false.
Equals(TensorLayout)
Compares this layout to another layout.
public bool Equals(
TensorLayout other
)
Parameters
- other TensorLayout
- The layout to compare this layout to.
Return Value
Booleantrue if this layout and other have the same rank and the same strides; otherwise false.