flux tensoriel : : opérations : : EstNan

#include <math_ops.h>

Renvoie quels éléments de x sont NaN.

Résumé

(numpy) Équivalent à np.isnan

Exemple:

x = tf.constant([5.0, np.nan, 6.8, np.nan, np.inf])
tf.math.is_nan(x) ==> [False, True, False, True, False]

Arguments:

  • scope : un objet Scope

Retour:

Constructeurs et Destructeurs

IsNan (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

Attributs publics

operation
y

Fonctions publiques

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Attributs publics

opération

Operation operation

oui

::tensorflow::Output y

Fonctions publiques

EstNan

 IsNan(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

nœud

::tensorflow::Node * node() const 

opérateur :: tensorflow :: Entrée

 operator::tensorflow::Input() const 

opérateur :: tensorflow :: Sortie

 operator::tensorflow::Output() const