dòng chảy căng:: ôi:: IsNan

#include <math_ops.h>

Trả về phần tử nào của x là NaN.

Bản tóm tắt

(numpy) Tương đương với np.isnan

Ví dụ:

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

Tranh luận:

Trả về:

Hàm tạo và hàm hủy

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

Thuộc tính công khai

operation
y

Chức năng công cộng

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

Thuộc tính công khai

hoạt động

Operation operation

y

::tensorflow::Output y

Chức năng công cộng

IsNan

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

nút

::tensorflow::Node * node() const 

toán tử::tenorflow::Đầu vào

 operator::tensorflow::Input() const 

toán tử::tenorflow::Đầu ra

 operator::tensorflow::Output() const