Share via


Tensor<T>.Lengths Property

Definition

Gets the length of each dimension in this Tensor<T>.

public:
 property ReadOnlySpan<IntPtr> Lengths { ReadOnlySpan<IntPtr> get(); };
public ReadOnlySpan<IntPtr> Lengths { get; }
member this.Lengths : ReadOnlySpan<nativeint>
Public ReadOnly Property Lengths As ReadOnlySpan(Of IntPtr)

Property Value

ReadOnlySpan<T> with the lengths of each dimension.

Implements

Applies to