TensorInt64Bit.CreateFromIterable Método

Definición

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

public:
 static TensorInt64Bit ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<long long> ^ data);
 static TensorInt64Bit CreateFromIterable(IIterable<long> const& shape, IIterable<long> const& data);
public static TensorInt64Bit CreateFromIterable(IEnumerable<long> shape, IEnumerable<long> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of Long)) As TensorInt64Bit

Parámetros

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Tamaño del búfer.

data

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

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

Devoluciones

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

Comentarios

Windows Server

Para usar esta API en Windows Server, debe usar Windows Server 2019 con Experiencia de escritorio.

Seguridad para subprocesos

Esta API es segura para subprocesos.

Se aplica a