TensorUInt32Bit.CreateFromArray(IIterable<Int64>, UInt32[]) Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto tensore intero senza segno a 32 bit, alloca un buffer di forma di dimensioni e copia tutti i dati in esso contenuti.
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
- shape
-
Windows.Foundation.Collections.IIterable<long long>
IIterable<long>
Dimensione del buffer.
- data
-
UInt32[]
unsigned int[]
uint32_t[]
Dati da copiare nel buffer.
Oggetto tensore intero senza segno a 32 bit con un buffer contenente i dati specificati.
Per usare questa API in Windows Server, è necessario usare Windows Server 2019 con Esperienza desktop.
Questa API è thread-safe.
Prodotto | Versioni |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |