tensorflow:: ops:: Equal

#include <math_ops.h>

Restituisce il valore di verità di (x == y) elemento per elemento.

Riepilogo

NOTA : Equal supporta le trasmissioni. Maggiori informazioni sulle trasmissioni 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])

Argomentazioni:

  • ambito: un oggetto Scope

Resi:

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)

Strutture

tensorflow::ops::Equal::Attrs

Impostatori di 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 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

Errore di forma incompatibile

Attrs IncompatibleShapeError(
  bool x
)