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