23 references to Lengths
System.Numerics.Tensors (23)
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.CreateFromShapeUninitialized<TResult>(x._shape.
Lengths
);
370
destination = Tensor.CreateFromShapeUninitialized<TResult>(y._shape.
Lengths
);
System\Numerics\Tensors\netcore\TensorShape.cs (18)
383
ReadOnlySpan<nint> leftLengths = left.
Lengths
;
386
ReadOnlySpan<nint> rightLengths = right.
Lengths
;
412
ReadOnlySpan<nint> lengths =
Lengths
;
415
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
420
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
477
ReadOnlySpan<nint> lengths =
Lengths
;
480
ReadOnlySpan<nint> destinationLengths = destinationShape.
Lengths
;
485
int destinationRankIndex = destinationShape.
Lengths
.Length - (i + 1);
593
ReadOnlySpan<nint> lengths1 = shape1.
Lengths
[rankDelta..];
594
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
665
ReadOnlySpan<nint> lengths2 = shape2.
Lengths
;
689
return AreLengthsTheSame(shape1.
Lengths
, shape2.
Lengths
);
976
Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(
Lengths
, Strides));
984
ReadOnlySpan<nint> lengths =
Lengths
;
1006
ReadOnlySpan<nint> lengths =
Lengths
;
1034
ReadOnlySpan<nint> lengths =
Lengths
;
1119
ReadOnlySpan<nint> previousLengths =
Lengths
;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
189
public ReadOnlySpan<nint> Lengths => _shape.
Lengths
;