tensoreflusso:: ops:: Pari
#include <math_ops.h>Restituisce il valore di verità di (x == y) per elemento.
Riepilogo
 NOTA : Equal supporta la trasmissione. Maggiori informazioni sulla trasmissione qui 
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])
Argomenti:
- scope: un oggetto Scope
Resi:
-  Output: il tensore z.
| Costruttori e distruttori | |
|---|---|
| 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) | 
| Attributi pubblici | |
|---|---|
| operation | |
| z | |
| Funzioni pubbliche | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Funzioni pubbliche statiche | |
|---|---|
| IncompatibleShapeError (bool x) | |
| Strutture | |
|---|---|
| tensorflow:: ops:: Uguale:: Attrs | Setter di attributi facoltativi per Equal . | 
Attributi pubblici
operazione
Operation operation
z
::tensorflow::Output z
Funzioni pubbliche
Pari
Equal( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
Pari
Equal( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, const Equal::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const
Funzioni pubbliche statiche
Errore di forma incompatibile
Attrs IncompatibleShapeError( bool x )