TensorBoolean.CreateFromIterable Méthode

Définition

Crée un objet tensoriel booléen, alloue une mémoire tampon de taille et copie toutes les données dans celui-ci.

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

Paramètres

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Taille de la mémoire tampon.

data

IIterable<Boolean>

IEnumerable<Boolean>

IIterable<bool>

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

Retours

Objet tensoriel booléen avec une mémoire tampon contenant les données données.

Remarques

Windows Server

Pour utiliser cette API sur Windows Server, vous devez utiliser Windows Server 2019 avec Expérience utilisateur.

Sécurité des threads

Cette API est thread-safe.

S’applique à