TensorLayout.CStyle Method

Returns a contiguous C-style layout for the specified shape.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public static TensorLayout CStyle(
	TensorShape shape
)

Parameters

shape  TensorShape
The shape that specifies the dimensions.

Return Value

TensorLayout
A C-style tensor layout where the last index changes fastest.

See Also