ITensor<TSelf,T>.Create 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
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<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<nativeint>
- strides
-
ReadOnlySpan<nativeint>
- pinned
- Boolean
Returns
TSelf
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET