TensorLayout.FromStrides 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#
public static TensorLayout FromStrides(
	int[] strides
)

Parameters

strides  Int32[]
An integer array.

Return Value

TensorLayout
A tensor layout based on the specified strides.

See Also