tensorflow:: ops:: IsNan

#include <math_ops.h>

يُرجع هذا الأمر العناصر التي تمثل NaN في المصفوفة x.

ملخص

(numpy) يعادل np.isnan

مثال:

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

الحجج:

المرتجعات:

البناة والمدمرون

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

السمات العامة

operation
y

الوظائف العامة

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

السمات العامة

عملية

Operation operation

y

::tensorflow::Output y

الوظائف العامة

إيسنان

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

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const