Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: IsNan

#include <math_ops.h>

x의 어떤 요소가 NaN인지 반환합니다.

요약

(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

와이

::tensorflow::Output y

공공 기능

IsNan

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const