テンソルフロー::状態
#include <status.h>
Tensorflow での呼び出しの成功または失敗を示します。
まとめ
コンストラクターとデストラクター | |
---|---|
Status () 成功ステータスを作成します。 | |
Status (tensorflow::error::Code code, tensorflow::StringPiece msg) 指定されたエラー コードとメッセージを、より詳細な情報を含む人間が判読できる文字列として含むステータスを作成します。 | |
Status (const Status & s) 指定したステータスをコピーします。 |
公共機能 | |
---|---|
IgnoreError () const | void |
ToString () const | string 印刷に適したこのステータスの文字列表現を返します。 |
Update (const Status & new_status) | void |
code () const | tensorflow::error::Code |
error_message () const | const string & |
ok () const | bool ステータスが成功を示している場合は true を返します。 |
operator!= (const Status & x) const | bool |
operator= (const Status & s) | void |
operator== (const Status & x) const | bool |
パブリック静的関数 | |
---|---|
OK () |
公共機能
エラーを無視する
void IgnoreError() const
状態
Status()
成功ステータスを作成します。
状態
Status( tensorflow::error::Code code, tensorflow::StringPiece msg )
指定されたエラー コードとメッセージを、より詳細な情報を含む人間が判読できる文字列として含むステータスを作成します。
ToString
string ToString() const
印刷に適したこのステータスの文字列表現を返します。
成功した場合は文字列"OK"
を返します。