10 references to Slice
System.Numerics.Tensors (10)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (3)
411
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForSlice, nint>(startIndexes, out nint linearOffset);
421
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
431
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
223
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForSlice, nint>(startIndexes, out nint linearOffset);
238
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
253
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\TensorShape.cs (1)
1357
return s_empty.
Slice
<TGetOffsetAndLength, T>(state, out linearOffset);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
301
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForSlice, nint>(startIndexes, out nint linearOffset);
311
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
321
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);