9 references to Slice
System.Numerics.Tensors (9)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (3)
414
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
424
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
434
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
255
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
271
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
287
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
311
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
321
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
331
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);