28 references to Lengths
System.Numerics.Tensors (28)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
291
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
118
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
78
TensorShape shape = TensorShape.Create(in source._reference, source._shape.LinearLength, destination.
Lengths
, strides, source.IsPinned);
86
ReadOnlySpan<nint> lengths = destination.
Lengths
;
88
!source.
Lengths
.SequenceEqual(lengths) ||
89
(other.Rank != 0 && !other.
Lengths
.SequenceEqual(lengths)))
200
ReadOnlySpan<nint> xLengths = x.
Lengths
;
201
ReadOnlySpan<nint> yLengths = y.
Lengths
;
System\Numerics\Tensors\netcore\TensorShape.cs (19)
375
ReadOnlySpan<nint> lengths =
Lengths
;
470
ReadOnlySpan<nint> leftLengths = left.
Lengths
;
473
ReadOnlySpan<nint> rightLengths = right.
Lengths
;
499
ReadOnlySpan<nint> lengths =
Lengths
;
502
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
507
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
564
ReadOnlySpan<nint> lengths =
Lengths
;
567
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
572
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
674
ReadOnlySpan<nint> lengths1 = shape1.
Lengths
[rankDelta..];
675
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
744
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
768
return AreLengthsTheSame(shape1.
Lengths
, shape2.
Lengths
);
1077
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(
Lengths
, Strides));
1085
ReadOnlySpan<nint> lengths =
Lengths
;
1111
ReadOnlySpan<nint> lengths =
Lengths
;
1143
ReadOnlySpan<nint> lengths =
Lengths
;
1246
ReadOnlySpan<nint> previousLengths =
Lengths
;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
186
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;