21 references to Lengths
System.Numerics.Tensors (21)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
313public ReadOnlySpan<nint> Lengths => _shape.Lengths;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
160public ReadOnlySpan<nint> Lengths => _shape.Lengths;
System\Numerics\Tensors\netcore\TensorOperation.cs (2)
366destination = Tensor.CreateUninitialized<TResult>(x._shape.Lengths); 370destination = Tensor.CreateUninitialized<TResult>(y._shape.Lengths);
System\Numerics\Tensors\netcore\TensorShape.cs (16)
453ReadOnlySpan<nint> leftLengths = left.Lengths; 457ReadOnlySpan<nint> rightLengths = right.Lengths; 492ReadOnlySpan<nint> lengths = Lengths; 495ReadOnlySpan<nint> destinationLengths = destinationShape.Lengths; 500int destinationRankIndex = destinationShape.Lengths.Length - (i + 1); 557ReadOnlySpan<nint> lengths = Lengths; 560ReadOnlySpan<nint> destinationLengths = destinationShape.Lengths; 565int destinationRankIndex = destinationShape.Lengths.Length - (i + 1); 651ReadOnlySpan<nint> lengths1 = shape1.Lengths[rankDelta..]; 652ReadOnlySpan<nint> lengths2 = shape2.Lengths; 723ReadOnlySpan<nint> lengths2 = shape2.Lengths; 747return AreLengthsTheSame(shape1.Lengths, shape2.Lengths); 1086Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(Lengths, Strides)); 1094ReadOnlySpan<nint> lengths = Lengths; 1147ReadOnlySpan<nint> previousLengths = Lengths;
System\Numerics\Tensors\netcore\TensorSpan.cs (1)
215public ReadOnlySpan<nint> Lengths => _shape.Lengths;