共用方式為


Tensor<T>.ToString(ReadOnlySpan<IntPtr>) 方法

定義

建立 TensorSpan<T>String 表示法。/>

public:
 System::String ^ ToString(ReadOnlySpan<IntPtr> maximumLengths);
public string ToString (scoped ReadOnlySpan<IntPtr> maximumLengths);
override this.ToString : ReadOnlySpan<nativeint> -> string
Public Function ToString (maximumLengths As ReadOnlySpan(Of IntPtr)) As String

參數

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

每個維度的最大長度

傳回

Tensor<T>String 表示法

適用於