tensorflow:: ops:: CheckNumerics

#include <array_ops.h>

テンソルにNaN値とInf値が含まれていないかチェックします。

まとめ

実行時に、 tensor数値(NaN)または無限大(Inf)以外の値が含まれている場合は、 InvalidArgumentエラーを報告します。それ以外の場合は、 tensorそのまま渡します。

議論:

  • スコープ:スコープオブジェクト
  • message: エラーメッセージの接頭辞。

返品:

  • Output :出力テンソル。

コンストラクターとデストラクタ

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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  StringPiece message
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const