共用方式為


Tensor<T>.IReadOnlyTensor<Tensor<T>,T>.Lengths 屬性

定義

取得這個 Tensor<T>中每個維度的長度。

property ReadOnlySpan<IntPtr> System::Numerics::Tensors::IReadOnlyTensor<System::Numerics::Tensors::Tensor<T>,T>::Lengths { ReadOnlySpan<IntPtr> get(); };
ReadOnlySpan<IntPtr> System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Lengths { get; }
member this.System.Numerics.Tensors.IReadOnlyTensor<System.Numerics.Tensors.Tensor<T>,T>.Lengths : ReadOnlySpan<nativeint>
 ReadOnly Property Lengths As ReadOnlySpan(Of IntPtr) Implements IReadOnlyTensor(Of Tensor(Of T), T).Lengths

屬性值

ReadOnlySpan<T> 每個維度的長度。

實作

適用於