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

tensorflow :: ops :: CheckNumerics

#include <array_ops.h>

텐서에서 NaN 및 Inf 값을 확인합니다.

요약

실행시 tensor 에 숫자 (NaN) 또는 무한대 (Inf)가 아닌 값이있는 경우 InvalidArgument 오류를보고합니다. 그렇지 않으면 tensor 그대로 전달합니다.

인수 :

  • 범위 : 범위 개체
  • message : 오류 메시지의 접두사입니다.

보고:

생성자와 소멸자

CheckNumerics (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, StringPiece message)

공용 속성

operation
output

공공 기능

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

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

CheckNumerics

 CheckNumerics(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  StringPiece message
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const