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>

实现

适用于