9 references to Slice
System.Numerics.Tensors (9)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (3)
408
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
418
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
428
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
217
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
232
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
247
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
304
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNInt, nint>(startIndexes, out nint linearOffset);
314
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNIndex, NIndex>(startIndexes, out nint linearOffset);
324
TensorShape shape = _shape.
Slice
<TensorShape.GetOffsetAndLengthForNRange, NRange>(ranges, out nint linearOffset);