28 references to Lengths
System.Numerics.Tensors (28)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
291public ReadOnlySpan<nint> Lengths => _shape.Lengths;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
118public ReadOnlySpan<nint> Lengths => _shape.Lengths;
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
78TensorShape shape = TensorShape.Create(in source._reference, source._shape.LinearLength, destination.Lengths, strides, source.IsPinned); 86ReadOnlySpan<nint> lengths = destination.Lengths; 88!source.Lengths.SequenceEqual(lengths) || 89(other.Rank != 0 && !other.Lengths.SequenceEqual(lengths))) 200ReadOnlySpan<nint> xLengths = x.Lengths; 201ReadOnlySpan<nint> yLengths = y.Lengths;
System\Numerics\Tensors\netcore\TensorShape.cs (19)
375ReadOnlySpan<nint> lengths = Lengths; 470ReadOnlySpan<nint> leftLengths = left.Lengths; 473ReadOnlySpan<nint> rightLengths = right.Lengths; 499ReadOnlySpan<nint> lengths = Lengths; 502ReadOnlySpan<nint> destinationLengths = destinationShape.Lengths; 507int destinationRankIndex = destinationShape.Lengths.Length - (i + 1); 564ReadOnlySpan<nint> lengths = Lengths; 567ReadOnlySpan<nint> destinationLengths = destinationShape.Lengths; 572int destinationRankIndex = destinationShape.Lengths.Length - (i + 1); 674ReadOnlySpan<nint> lengths1 = shape1.Lengths[rankDelta..]; 675ReadOnlySpan<nint> lengths2 = shape2.Lengths; 744ReadOnlySpan<nint> lengths2 = shape2.Lengths; 768return AreLengthsTheSame(shape1.Lengths, shape2.Lengths); 1077Debug.Assert(HasAnyDenseDimensions == CalculateHasAnyDenseDimensions(Lengths, Strides)); 1085ReadOnlySpan<nint> lengths = Lengths; 1111ReadOnlySpan<nint> lengths = Lengths; 1143ReadOnlySpan<nint> lengths = Lengths; 1246ReadOnlySpan<nint> previousLengths = Lengths;
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
186public ReadOnlySpan<nint> Lengths => _shape.Lengths;