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 表示形式

适用于