tensorflow :: ops :: Pari
#include <math_ops.h>
Restituisce il valore di verità di (x == y) per elemento.
Sommario
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
Ritorna:
-
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 statiche pubbliche | |
---|---|
IncompatibleShapeError (bool x) |
Structs | |
---|---|
tensorflow :: ops :: Equal :: Attrs | Setter attributi opzionali 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
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
IncompatibleShapeError
Attrs IncompatibleShapeError( bool x )