flux tensoriel : : opérations : : Est Fini

#include <math_ops.h>

Renvoie quels éléments de x sont finis.

Résumé

(numpy) Équivalent à np.isfinite

Exemple:

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

Arguments:

  • scope : un objet Scope

Retour:

Constructeurs et Destructeurs

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

Est Fini

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