TensorString.CreateFromIterable Método

Definición

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

public:
 static TensorString ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<Platform::String ^> ^ data);
 static TensorString CreateFromIterable(IIterable<long> const& shape, IIterable<winrt::hstring> const& data);
public static TensorString CreateFromIterable(IEnumerable<long> shape, IEnumerable<string> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of String)) As TensorString

Parámetros

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Tamaño del búfer.

data

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

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

Devoluciones

Objeto tensor de cadena 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