22 references to Lengths
System.Numerics.Tensors (22)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
314
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
160
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;
System\Numerics\Tensors\netcore\TensorOperation.cs (2)
366
destination = Tensor.CreateUninitialized<TResult>(x._shape.
Lengths
);
370
destination = Tensor.CreateUninitialized<TResult>(y._shape.
Lengths
);
System\Numerics\Tensors\netcore\TensorShape.cs (17)
451
ReadOnlySpan<nint> leftLengths = left.
Lengths
;
455
ReadOnlySpan<nint> rightLengths = right.
Lengths
;
490
ReadOnlySpan<nint> lengths =
Lengths
;
493
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
498
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
555
ReadOnlySpan<nint> lengths =
Lengths
;
558
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
563
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
667
ReadOnlySpan<nint> lengths1 = shape1.
Lengths
[rankDelta..];
668
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
739
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
763
return AreLengthsTheSame(shape1.
Lengths
, shape2.
Lengths
);
1102
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(
Lengths
, Strides));
1110
ReadOnlySpan<nint> lengths =
Lengths
;
1132
ReadOnlySpan<nint> lengths =
Lengths
;
1185
ReadOnlySpan<nint> previousLengths =
Lengths
;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
216
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;