Implemented interface member:
property
Lengths
System.Numerics.Tensors.IReadOnlyTensor.Lengths
16 references to Lengths
System.Numerics.Tensors (16)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
272result = Tensor.CreateFromShape<T>(Lengths, IsPinned);
System\Numerics\Tensors\netcore\Tensor.cs (15)
1461ReadOnlySpan<nint> lengths = tensor.Lengths; 1615if (tensor.Lengths.SequenceEqual(lengths)) 1634GetReshapeStrides(tensor.Lengths, tensor.Strides, tensor.IsDense, newLengths, strides); 2208for (int i = 0, index = 0; i < tensor.Lengths.Length; i++) 2210if (tensor.Lengths[i] != 1) 2212lengths[index] = tensor.Lengths[i]; 2224if (tensor.Lengths[dimension] != 1) 2231tensor.Lengths[..dimension].CopyTo(lengths); 2232tensor.Lengths[(dimension + 1)..].CopyTo(lengths[dimension..]); 2432ReadOnlySpan<nint> lengths = outputs[0].Lengths; 2459ReadOnlySpan<nint> lengths = outputs[0].Lengths; 2478if (!TensorShape.AreLengthsEquivalent(lengths, tensors[i].Lengths)) 2664if (tensor.Lengths.Length < 2) 2670tensor.Lengths.CopyTo(lengths); 2746ReadOnlySpan<nint> lengths = tensor.Lengths;