29 references to Strides
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
298
public ReadOnlySpan<nint> Strides => _shape.
Strides
;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
124
public ReadOnlySpan<nint> Strides => _shape.
Strides
;
System\Numerics\Tensors\netcore\Tensor.cs (6)
1739
if (!shape.IsDense && !shape.
Strides
.Contains(0))
1747
GetReshapeStrides(shape.Lengths, shape.
Strides
, shape.IsDense, newLengths, strides);
1771
if (!shape.IsDense && !shape.
Strides
.Contains(0))
1779
GetReshapeStrides(shape.Lengths, shape.
Strides
, shape.IsDense, newLengths, strides);
3103
ReadOnlySpan<nint> strides = shape.
Strides
;
3148
ReadOnlySpan<nint> strides = shape.
Strides
;
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
437
ReadOnlySpan<nint> sourceStrides = source.
Strides
;
438
ReadOnlySpan<nint> destinationStrides = destination.
Strides
;
439
ReadOnlySpan<nint> otherStrides = other.
Strides
;
System\Numerics\Tensors\netcore\TensorShape.cs (17)
376
ReadOnlySpan<nint> strides =
Strides
;
471
ReadOnlySpan<nint> leftStrides = left.
Strides
;
474
ReadOnlySpan<nint> rightStrides = right.
Strides
;
500
ReadOnlySpan<nint> strides =
Strides
;
565
ReadOnlySpan<nint> strides =
Strides
;
715
ReadOnlySpan<nint> strides1 = shape1.
Strides
[rankDelta..];
716
ReadOnlySpan<nint> strides2 = shape2.
Strides
[sourceOffset..];
856
return offset == 0 ? shape : CreateForView(shape.LinearLength, shape.Lengths[offset..], shape.
Strides
[offset..], shape.IsPinned);
864
shape.
Strides
.CopyTo(strides[-offset..]);
890
&& shape1.
Strides
[offset1..].SequenceEqual(shape2.
Strides
[offset2..]);
1210
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(Lengths,
Strides
));
1212
Debug.Assert(IsBroadcast ==
Strides
.Contains(0));
1219
ReadOnlySpan<nint> strides =
Strides
;
1245
ReadOnlySpan<nint> strides =
Strides
;
1286
ReadOnlySpan<nint> strides =
Strides
;
1389
ReadOnlySpan<nint> previousStrides =
Strides
;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
193
public ReadOnlySpan<nint> Strides => _shape.
Strides
;