TensorUInt32Bit.CreateFromShapeArrayAndDataArray(Int64[], UInt32[]) Método

Definición

Crea un objeto tensor entero de 32 bits sin signo, asigna un búfer de forma de tamaño y copia todos los datos en él.

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

Parámetros

shape

Int64[]

long long[]

long[]

Tamaño del búfer.

data

UInt32[]

unsigned int[]

uint32_t[]

Datos que se van a copiar en el búfer.

Devoluciones

Un objeto tensor entero de 32 bits sin signo con un búfer que contiene los datos especificados.

Requisitos de Windows

Familia de dispositivos
Windows 10, version 1903 (se introdujo en la versión 10.0.18362.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (se introdujo en la versión v2.0)

Se aplica a