flux tensoriel : : opérations : : Égal
#include <math_ops.h>Renvoie la valeur de vérité de (x == y) élément par élément.
Résumé
 REMARQUE : Equal prend en charge la diffusion. En savoir plus sur la diffusion ici 
x = tf.constant([2, 4]) y = tf.constant(2) tf.math.equal(x, y) ==> array([True, False])
x = tf.constant([2, 4]) y = tf.constant([2, 4]) tf.math.equal(x, y) ==> array([True, True])
Arguments :
- scope : un objet Scope
Retours :
-  Output: Le tenseur z.
| Constructeurs et Destructeurs | |
|---|---|
| Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) | |
| Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const Equal::Attrs & attrs) | 
| Attributs publics | |
|---|---|
| operation | |
| z | |
| Fonctions publiques | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Fonctions statiques publiques | |
|---|---|
| IncompatibleShapeError (bool x) | |
| Structures | |
|---|---|
| tensorflow :: ops :: Equal :: Attrs | Setters d'attributs facultatifs pour Equal . | 
Attributs publics
opération
Operation operation
z
::tensorflow::Output z
Fonctions publiques
Égal
Equal( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
Égal
Equal( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, const Equal::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
Erreur de forme incompatible
Attrs IncompatibleShapeError( bool x )