다음을 통해 공유


Tensor.ToString 메서드

정의

오버로드

ToString<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Tensor<T>."의 String 표현을 만듭니다. />

ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

TensorSpan<T>."의 String 표현을 만듭니다. />

ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

ReadOnlyTensorSpan<T>."의 String 표현을 만듭니다. />

ToString<T>(Tensor<T>, ReadOnlySpan<IntPtr>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Tensor<T>."의 String 표현을 만듭니다. />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::Tensor<T> ^ tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this System.Numerics.Tensors.Tensor<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : System.Numerics.Tensors.Tensor<'T> * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (tensor As Tensor(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

형식 매개 변수

T

매개 변수

tensor
Tensor<T>

문자열로 나타낼 Span<T>.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

각 차원의 최대 길이

반환

tensor String 표현

적용 대상

ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

TensorSpan<T>."의 String 표현을 만듭니다. />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::TensorSpan<T> % tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.TensorSpan<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : TensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef tensor As TensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

형식 매개 변수

T

매개 변수

tensor
TensorSpan<T>

문자열로 나타낼 TensorSpan<T>.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

각 차원의 최대 길이

반환

tensor String 표현

적용 대상

ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

ReadOnlyTensorSpan<T>."의 String 표현을 만듭니다. />

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToString(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % tensor, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> tensor, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : ReadOnlyTensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef tensor As ReadOnlyTensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String

형식 매개 변수

T

매개 변수

tensor
ReadOnlyTensorSpan<T>

문자열로 나타낼 ReadOnlyTensorSpan<T>.

maximumLengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

각 차원의 최대 길이

반환

적용 대상