tensorflow:: ops:: WholeFileReader

#include <io_ops.h>

ファイルの内容全体を値として出力するリーダー。

まとめ

使用するには、ファイル名をキューに追加します。ReaderRead の出力は、ファイル名(キー)とそのファイルの内容(値)になります。

議論:

オプション属性( Attrs参照):

  • コンテナ:空でない場合、このリーダーは指定されたコンテナに配置されます。空でない場合は、デフォルトのコンテナが使用されます。
  • shared_name: 空でない場合、このリーダーは指定されたバケット内でこの shared_name という名前で命名されます。空でない場合は、代わりにノード名が使用されます。

返品:

  • Output :リーダーを参照するためのハンドル。

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

WholeFileReader (const :: tensorflow::Scope & scope)
WholeFileReader (const :: tensorflow::Scope & scope, const WholeFileReader::Attrs & attrs)

公開属性

operation
reader_handle

公的機能

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

パブリック静的関数

Container (StringPiece x)
SharedName (StringPiece x)

構造

tensorflow:: ops:: WholeFileReader:: Attrs

WholeFileReaderのオプション属性設定子。

公開属性

手術

Operation operation

リーダーハンドル

::tensorflow::Output reader_handle

公的機能

ホールファイルリーダー

 WholeFileReader(
  const ::tensorflow::Scope & scope
)

ホールファイルリーダー

 WholeFileReader(
  const ::tensorflow::Scope & scope,
  const WholeFileReader::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

容器

Attrs Container(
  StringPiece x
)

共有名

Attrs SharedName(
  StringPiece x
)