tensorflow::ops::StringJoin
#include <string_ops.h>Fusionne les chaînes de caractères de la liste donnée de tenseurs de chaînes en un seul tenseur ;
Résumé
avec le séparateur donné (par défaut, un séparateur vide).
Exemples :
s = ["hello", "world", "tensorflow"] tf.strings.join(s, " ")
Arguments :
- portée : un objet Scope
- Entrées : une liste de tenseurs de chaînes de caractères. Ces tenseurs doivent tous avoir la même forme ou être des scalaires. Les scalaires peuvent être inclus ; ils seront alors convertis en la forme des entrées non scalaires.
Attributs optionnels (voir Attrs ) :
- séparateur : chaîne de caractères, séparateur de jointure facultatif.
Retours :
-
Output: Le tenseur de sortie.
Constructeurs et destructeurs | |
|---|---|
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringJoin::Attrs & attrs) |
attributs publics | |
|---|---|
operation | |
output | |
fonctions publiques | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
fonctions statiques publiques | |
|---|---|
Separator (StringPiece x) | |
Structures | |
|---|---|
| tensorflow::ops::StringJoin::Attrs | Définiteurs d'attributs optionnels pour StringJoin . |
attributs publics
opération
Operation operation
sortir
::tensorflow::Output output
fonctions publiques
Jointure de chaînes
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
Jointure de chaînes
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringJoin::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
Séparateur
Attrs Separator( StringPiece x )