Bagikan melalui


Tensor<T>.ITensor<Tensor<T>,T>.CreateUninitialized Metode

Definisi

Overload

ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, Boolean)

Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned benar, memori akan disematkan.

ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned benar, memori akan disematkan.

ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, Boolean)

Sumber:
Tensor.cs

Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned benar, memori akan disematkan.

 static System::Numerics::Tensors::Tensor<T> ^ System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr> lengths, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T> ^, T>::CreateUninitialized;
static System.Numerics.Tensors.Tensor<T> ITensor<Tensor<T>,T>.CreateUninitialized (ReadOnlySpan<IntPtr> lengths, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized : ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.Tensor<'T>
 Shared Function CreateUninitialized (lengths As ReadOnlySpan(Of IntPtr), pinned As Boolean) As Tensor(Of T) Implements ITensor(Of Tensor(Of T), T).CreateUninitialized

Parameter

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

ReadOnlySpan<T> menunjukkan panjang setiap dimensi.

pinned
Boolean

Boolean apakah data yang mendasar harus disematkan atau tidak.

Mengembalikan

Penerapan

Berlaku untuk

ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)

Sumber:
Tensor.cs

Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned benar, memori akan disematkan.

 static System::Numerics::Tensors::Tensor<T> ^ System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr> lengths, ReadOnlySpan<IntPtr> strides, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T> ^, T>::CreateUninitialized;
static System.Numerics.Tensors.Tensor<T> ITensor<Tensor<T>,T>.CreateUninitialized (ReadOnlySpan<IntPtr> lengths, ReadOnlySpan<IntPtr> strides, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized : ReadOnlySpan<nativeint> * ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.Tensor<'T>
 Shared Function CreateUninitialized (lengths As ReadOnlySpan(Of IntPtr), strides As ReadOnlySpan(Of IntPtr), pinned As Boolean) As Tensor(Of T) Implements ITensor(Of Tensor(Of T), T).CreateUninitialized

Parameter

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

ReadOnlySpan<T> menunjukkan panjang setiap dimensi.

strides

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

ReadOnlySpan<T> yang menunjukkan langkah setiap dimensi.

pinned
Boolean

Boolean apakah data yang mendasar harus disematkan atau tidak.

Mengembalikan

Penerapan

Berlaku untuk