Share via


TensorUInt64Bit.CreateFromShapeArrayAndDataArray(Int64[], UInt64[]) Methode

Definition

Erstellt ein 64-Bit-Tensorobjekt ohne Vorzeichen, weist einen Puffer der Größenform zu und kopiert alle Daten in dieses Objekt.

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

Parameter

shape

Int64[]

long long[]

long[]

Die Größe des Puffers.

data

UInt64[]

unsigned long long[]

uint64_t[]

Die Daten, die in den Puffer kopiert werden sollen.

Gibt zurück

Ein 64-Bit-Tensorobjekt ohne Vorzeichen mit einem Puffer, der die angegebenen Daten enthält.

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1903 (eingeführt in 10.0.18362.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (eingeführt in v2.0)

Gilt für: