flux tensoriel : : opérations : : EstInf

#include <math_ops.h>

Renvoie quels éléments de x sont Inf.

Résumé

(numpy) Équivalent à np.isinf

Exemple:

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

Arguments:

  • scope : un objet Scope

Retour:

Constructeurs et Destructeurs

IsInf (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

EstInf

 IsInf(
  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