Tensor Layout.From Strides Method
Returns a tensor layout that uses the specified strides.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
A tensor layout based on the specified strides.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static TensorLayout FromStrides(
int[] strides
)
Parameters
- strides Int32[]
- An integer array.
Return Value
TensorLayoutA tensor layout based on the specified strides.