tensorflow:: ops:: WriteFile

#include <io_ops.h>

指定されたファイル名に内容を書き込みます。

まとめ

ファイルを作成し、再帰的に

ディレクトリが存在しない場合は作成します。

議論:

  • スコープ:スコープオブジェクト
  • filename: スカラー値。内容を書き込むファイルの名前。
  • contents: スカラー値。出力ファイルに書き込む内容。

返品:

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

WriteFile (const :: tensorflow::Scope & scope, :: tensorflow::Input filename, :: tensorflow::Input contents)

公開属性

operation

公的機能

operator::tensorflow::Operation () const

公開属性

手術

Operation operation

公的機能

ファイル書き込み

 WriteFile(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input filename,
  ::tensorflow::Input contents
)

オペレーター::tensorflow::Operation

 operator::tensorflow::Operation() const