Condividi tramite


TensorUInt64Bit.CreateFromShapeArrayAndDataArray(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 ^ CreateFromShapeArrayAndDataArray(Platform::Array <long long> ^ shape, Platform::Array <unsigned long long> ^ data);
 static TensorUInt64Bit CreateFromShapeArrayAndDataArray(winrt::array_view <long> const& shape, winrt::array_view <uint64_t> const& data);
public static TensorUInt64Bit CreateFromShapeArrayAndDataArray(long[] shape, ulong[] data);
function createFromShapeArrayAndDataArray(shape, data)
Public Shared Function CreateFromShapeArrayAndDataArray (shape As Long(), data As ULong()) As TensorUInt64Bit

Parametri

shape

Int64[]

long long[]

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.

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1903 (è stato introdotto in 10.0.18362.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (è stato introdotto in v2.0)

Si applica a