tensorflow:: ops:: IsFinite

#include <math_ops.h>

מחזירה אילו אלמנטים של x הם סופיים.

תַקצִיר

שווה ערך ל- np.isfinite

דוּגמָה:

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

טיעונים:

החזרות:

בנאים והורסים

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

מאפיינים ציבוריים

operation
y

תפקידים ציבוריים

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

מאפיינים ציבוריים

מִבצָע

Operation operation

י

::tensorflow::Output y

תפקידים ציבוריים

הוא סופי

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

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const