TensorUInt64Bit.CreateFromShapeArrayAndDataArray(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 ^ 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

Paramètres

shape

Int64[]

long long[]

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.

Configuration requise pour Windows

Famille d’appareils
Windows 10, version 1903 (introduit dans 10.0.18362.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (introduit dans v2.0)

S’applique à