22 references to Lengths
System.Numerics.Tensors (22)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
288
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
115
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)
388
ReadOnlySpan<nint> leftLengths = left.
Lengths
;
391
ReadOnlySpan<nint> rightLengths = right.
Lengths
;
417
ReadOnlySpan<nint> lengths =
Lengths
;
420
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
425
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
482
ReadOnlySpan<nint> lengths =
Lengths
;
485
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
490
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
598
ReadOnlySpan<nint> lengths1 = shape1.
Lengths
[rankDelta..];
599
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
670
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
694
return AreLengthsTheSame(shape1.
Lengths
, shape2.
Lengths
);
981
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(
Lengths
, Strides));
989
ReadOnlySpan<nint> lengths =
Lengths
;
1011
ReadOnlySpan<nint> lengths =
Lengths
;
1064
ReadOnlySpan<nint> previousLengths =
Lengths
;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
189
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;