TensorShape.Equality Operator

Compares two shapes for equality.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public static bool operator ==(
	TensorShape left,
	TensorShape right
)

Parameters

left  TensorShape
The first shape to compare.
right  TensorShape
The second shape to compare.

Return Value

Boolean
true if left and right have the same rank and the same dimensions; otherwise false.

See Also