Tensor Layout.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.1
C#
A C-style tensor layout where the last index changes fastest.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.1
public static TensorLayout CStyle(
TensorShape shape
)
Parameters
- shape TensorShape
- The shape that specifies the dimensions.
Return Value
TensorLayoutA C-style tensor layout where the last index changes fastest.