Share via


TensorUInt64Bit.CreateFromArray(IIterable<Int64>, UInt64[]) Metodo

Definizione

Crea un oggetto tensore intero senza segno a 64 bit, alloca un buffer di forme di dimensione e copia tutti i dati in esso.

public:
 static TensorUInt64Bit ^ CreateFromArray(IIterable<long long> ^ shape, Platform::Array <unsigned long long> ^ data);
 static TensorUInt64Bit CreateFromArray(IIterable<long> const& shape, winrt::array_view <uint64_t> const& data);
public static TensorUInt64Bit CreateFromArray(IEnumerable<long> shape, ulong[] data);
function createFromArray(shape, data)
Public Shared Function CreateFromArray (shape As IEnumerable(Of Long), data As ULong()) As TensorUInt64Bit

Parametri

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Dimensione del buffer.

data

UInt64[]

unsigned long long[]

uint64_t[]

Dati da copiare nel buffer.

Restituisce

Oggetto tensore intero senza segno a 64 bit con un buffer contenente i dati specificati.

Commenti

Windows Server

Per usare questa API in Windows Server, è necessario usare Windows Server 2019 con Esperienza desktop.

Thread safety

Questa API è thread-safe.

Si applica a