TensorUInt64Bit.CreateFromArray(IIterable<Int64>, UInt64[]) Méthode

Définition

Crée un objet tenseur d’entier non signé 64 bits, alloue une mémoire tampon de taille et copie toutes les données dans celui-ci.

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

Paramètres

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Taille de la mémoire tampon.

data

UInt64[]

unsigned long long[]

uint64_t[]

Données à copier dans la mémoire tampon.

Retours

Objet tenseur d’entier non signé 64 bits avec une mémoire tampon contenant les données données.

Remarques

Windows Server

Pour utiliser cette API sur Windows Server, vous devez utiliser Windows Server 2019 avec Expérience de bureau.

Sécurité des threads

Cette API est thread-safe.

S’applique à