Compartir a través de


Tensor<T>.ITensor<Tensor<T>,T>.CreateUninitialized Método

Definición

Sobrecargas

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

Crea un Tensor<T> y no lo inicializa. Si pinned es true, la memoria se anclará.

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

Crea un Tensor<T> y no lo inicializa. Si pinned es true, la memoria se anclará.

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

Source:
Tensor.cs
Source:
Tensor.cs

Crea un Tensor<T> y no lo inicializa. Si pinned es true, la memoria se anclará.

 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

Parámetros

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Un ReadOnlySpan<T> que indica las longitudes de cada dimensión.

pinned
Boolean

Un Boolean si los datos subyacentes se deben anclar o no.

Devoluciones

Implementaciones

Se aplica a

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

Source:
Tensor.cs
Source:
Tensor.cs

Crea un Tensor<T> y no lo inicializa. Si pinned es true, la memoria se anclará.

 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

Parámetros

lengths

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Un ReadOnlySpan<T> que indica las longitudes de cada dimensión.

strides

ReadOnlySpan<IntPtr>

ReadOnlySpan<nativeint>

Un ReadOnlySpan<T> que indica los pasos de cada dimensión.

pinned
Boolean

Un Boolean si los datos subyacentes se deben anclar o no.

Devoluciones

Implementaciones

Se aplica a