2 references to GetLinearOffsetForDimension
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\ReadOnlyTensorDimensionSpan_1.cs (1)
54
nint linearOffset = _tensor._shape.
GetLinearOffsetForDimension
(index, _dimension);
System\Numerics\Tensors\netcore\TensorDimensionSpan_1.cs (1)
51
nint linearOffset = _tensor._shape.
GetLinearOffsetForDimension
(index, _dimension);