TensorLayout.IsContiguousFor Method

Gets whether this layout is contiguous for a tensor with the specified shape.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
C#
public bool IsContiguousFor(
	TensorShape shape
)

Parameters

shape  TensorShape
A tensor shape.

Return Value

Boolean
true if this layout is contiguous; otherwise false.

See Also