tensorflow::ops::Vide
#include <array_ops.h>Crée un tenseur ayant la forme donnée.
Résumé
Cette opération crée un tenseur de shape et dtype .
Arguments :
- portée : un objet Scope
- forme : 1-D. Représente la forme du tenseur de sortie.
Attributs optionnels (voir Attrs ) :
- init : Si la valeur est True, le tenseur retourné est initialisé avec la valeur par défaut de dtype. Sinon, l’implémentation peut choisir de ne pas initialiser le contenu du tenseur.
Retours :
Constructeurs et destructeurs | |
|---|---|
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) |
attributs publics | |
|---|---|
operation | |
output | |
fonctions publiques | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
fonctions statiques publiques | |
|---|---|
Init (bool x) | |
Structures | |
|---|---|
| tensorflow::ops::Vide::Attributs | Définiteurs d'attributs optionnels pour Empty . |
attributs publics
opération
Operation operation
sortir
::tensorflow::Output output
fonctions publiques
Vide
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Vide
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
nœud
::tensorflow::Node * node() const
opérateur::tensorflow::Entrée
operator::tensorflow::Input() const
opérateur::tensorflow::Sortie
operator::tensorflow::Output() const
fonctions statiques publiques
Initialisation
Attrs Init( bool x )