TensorUInt32Bit.CreateFromArray(IIterable<Int64>, UInt32[]) Método

Definición

Crea un objeto tensor entero de 32 bits sin signo, asigna un búfer de forma de tamaño y copia todos los datos en él.

public:
 static TensorUInt32Bit ^ CreateFromArray(IIterable<long long> ^ shape, Platform::Array <unsigned int> ^ data);
 static TensorUInt32Bit CreateFromArray(IIterable<long> const& shape, winrt::array_view <uint32_t> const& data);
public static TensorUInt32Bit CreateFromArray(IEnumerable<long> shape, uint[] data);
function createFromArray(shape, data)
Public Shared Function CreateFromArray (shape As IEnumerable(Of Long), data As UInteger()) As TensorUInt32Bit

Parámetros

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Tamaño del búfer.

data

UInt32[]

unsigned int[]

uint32_t[]

Datos que se van a copiar en el búfer.

Devoluciones

Un objeto tensor entero de 32 bits sin signo con un búfer que contiene los datos especificados.

Comentarios

Windows Server

Para usar esta API en Windows Server, debe usar Windows Server 2019 con experiencia de escritorio.

Seguridad para subprocesos

Esta API es segura para subprocesos.

Se aplica a