TensorInt64Bit.CreateFromShapeArrayAndDataArray(Int64[], Int64[]) Méthode

Définition

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

public:
 static TensorInt64Bit ^ CreateFromShapeArrayAndDataArray(Platform::Array <long long> ^ shape, Platform::Array <long long> ^ data);
 static TensorInt64Bit CreateFromShapeArrayAndDataArray(winrt::array_view <long> const& shape, winrt::array_view <long> const& data);
public static TensorInt64Bit CreateFromShapeArrayAndDataArray(long[] shape, long[] data);
function createFromShapeArrayAndDataArray(shape, data)
Public Shared Function CreateFromShapeArrayAndDataArray (shape As Long(), data As Long()) As TensorInt64Bit

Paramètres

shape

Int64[]

long long[]

long[]

Taille de la mémoire tampon.

data

Int64[]

long long[]

long[]

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

Retours

Objet tenseur d’entier 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 à