tensorflow :: opérations :: Vider
#include <array_ops.h>
Crée un tenseur avec la forme donnée.
Résumé
Cette opération crée un tenseur de shape
et de dtype
.
Arguments:
- scope: un objet Scope
- forme: 1-D. Représente la forme du tenseur de sortie.
Attributs facultatifs (voir Attrs
):
- init: Si True, initialise le tenseur renvoyé avec la valeur par défaut de dtype. Sinon, l'implémentation est libre de ne pas initialiser le contenu du tenseur.
Retour:
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) |
Structs | |
---|---|
tensorflow :: ops :: Empty :: Attrs | Définisseurs d'attributs facultatifs pour Vide . |
Attributs publics
opération
Operation operation
production
::tensorflow::Output output
Fonctions publiques
Vider
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Vider
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
nœud
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Fonctions statiques publiques
Init
Attrs Init( bool x )