Tensor Layout.Equality Operator
Compares two layouts for equality.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
C#
true if left and right have the same rank and the same strides; otherwise false.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
public static bool operator ==(
TensorLayout left,
TensorLayout right
)
Parameters
- left TensorLayout
- The first layout to compare.
- right TensorLayout
- The second layout to compare.
Return Value
Booleantrue if left and right have the same rank and the same strides; otherwise false.