Tensor.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>) |
Creates a String representation of the ReadOnlyTensorSpan<T>. |
ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>) |
Creates a String representation of the TensorSpan<T>. |
ToString<T>(ReadOnlyTensorSpan<T>, ReadOnlySpan<IntPtr>)
- Source:
- TensorExtensions.cs
Creates a String representation of the ReadOnlyTensorSpan<T>.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::String ^ ToString(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % span, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.ReadOnlyTensorSpan<T> span, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : ReadOnlyTensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef span As ReadOnlyTensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String
Type Parameters
- T
Parameters
- maximumLengths
-
ReadOnlySpan<nativeint>
The maximum length of each dimension.
Returns
Applies to
ToString<T>(TensorSpan<T>, ReadOnlySpan<IntPtr>)
- Source:
- TensorExtensions.cs
Creates a String representation of the TensorSpan<T>.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::String ^ ToString(System::Numerics::Tensors::TensorSpan<T> % span, ReadOnlySpan<IntPtr> maximumLengths);
public static string ToString<T> (this in System.Numerics.Tensors.TensorSpan<T> span, scoped ReadOnlySpan<IntPtr> maximumLengths);
static member ToString : TensorSpan * ReadOnlySpan<nativeint> -> string
<Extension()>
Public Function ToString(Of T) (ByRef span As TensorSpan(Of T), maximumLengths As ReadOnlySpan(Of IntPtr)) As String
Type Parameters
- T
Parameters
- span
- TensorSpan<T>
- maximumLengths
-
ReadOnlySpan<nativeint>
Returns
A String representation of the tensor
Applies to
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру