Düzenle

Aracılığıyla paylaş


ITensor<TSelf,T>.Create Method

Definition

Overloads

Create(ReadOnlySpan<IntPtr>, Boolean)
Create(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Create(ReadOnlySpan<IntPtr>, Boolean)

Source:
ITensor.cs
public static abstract TSelf Create (scoped ReadOnlySpan<IntPtr> lengths, bool pinned = false);
static member Create : ReadOnlySpan<nativeint> * bool -> 'Self
Public Shared Function Create (lengths As ReadOnlySpan(Of IntPtr), Optional pinned As Boolean = false) As TSelf

Parameters

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

pinned
Boolean

Returns

TSelf

Applies to

Create(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Source:
ITensor.cs
public static abstract TSelf Create (scoped ReadOnlySpan<IntPtr> lengths, scoped ReadOnlySpan<IntPtr> strides, bool pinned = false);
static member Create : ReadOnlySpan<nativeint> * ReadOnlySpan<nativeint> * bool -> 'Self
Public Shared Function Create (lengths As ReadOnlySpan(Of IntPtr), strides As ReadOnlySpan(Of IntPtr), Optional pinned As Boolean = false) As TSelf

Parameters

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

strides

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

pinned
Boolean

Returns

TSelf

Applies to