tensorflow:: عملیات:: IsInf

#include <math_ops.h>

برمی‌گرداند که کدام عناصر x از نوع Inf هستند.

خلاصه

(numpy) معادل np.isinf

مثال:

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

استدلال‌ها:

بازده:

سازنده‌ها و مخرب‌ها

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

کارکردهای عمومی

ایزاینف

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

گره

::tensorflow::Node * node() const 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const