TensorLayout.EqualsExcept Method

Compares this layout to another layout, ignoring the specified axes.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public bool EqualsExcept(
	TensorLayout other,
	Axes axes
)

Parameters

other  TensorLayout
The layout to compare this layout to.
axes  Axes
The collection of axes to ignore.

Return Value

Boolean
true if this layout and other have the same rank and the same strides along the axes that are not contained in axes; otherwise false.

See Also