21 references to Lengths
System.Numerics.Tensors (21)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
313
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 (16)
453
ReadOnlySpan<nint> leftLengths = left.
Lengths
;
457
ReadOnlySpan<nint> rightLengths = right.
Lengths
;
492
ReadOnlySpan<nint> lengths =
Lengths
;
495
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
500
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
557
ReadOnlySpan<nint> lengths =
Lengths
;
560
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
565
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
651
ReadOnlySpan<nint> lengths1 = shape1.
Lengths
[rankDelta..];
652
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
723
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
747
return AreLengthsTheSame(shape1.
Lengths
, shape2.
Lengths
);
1086
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(
Lengths
, Strides));
1094
ReadOnlySpan<nint> lengths =
Lengths
;
1147
ReadOnlySpan<nint> previousLengths =
Lengths
;
System\Numerics\Tensors\netcore\TensorSpan.cs (1)
215
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;