9 references to Slice
System.Numerics.Tensors (9)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (3)
410
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
420
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
430
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
252
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
268
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
284
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\TensorSpan.cs (3)
307
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
317
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
327
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);