テンソルフロー::作戦::固定長レコードリーダー

#include <io_ops.h>

ファイルから固定長レコードを出力するリーダー。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • Record_bytes: レコード内のバイト数。

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

  • header_bytes: ヘッダーのバイト数。デフォルトは 0。
  • footer_bytes: フッターのバイト数。デフォルトは 0 です。
  • hop_bytes: 各読み取りの前にホップするバイト数。デフォルトの 0 は、record_bytes を使用することを意味します。
  • コンテナ: 空でない場合、このリーダーは指定されたコンテナに配置されます。それ以外の場合は、デフォルトのコンテナが使用されます。
  • shared_name: 空でない場合、このリーダーは指定されたバケット内でこのshared_nameの名前が付けられます。それ以外の場合は、代わりにノード名が使用されます。
  • エンコーディング: ファイルのエンコーディングのタイプ。現在、ZLIB と GZIP がサポートされています。デフォルトはなしです。

戻り値:

  • Output : Reader を参照するハンドル。

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

FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes)
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs)

パブリック属性

operation
reader_handle

公共機能

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

パブリック静的関数

Container (StringPiece x)
Encoding (StringPiece x)
FooterBytes (int64 x)
HeaderBytes (int64 x)
HopBytes (int64 x)
SharedName (StringPiece x)

構造体

tensorflow::ops::FixedLengthRecordReader::Attrs

FixedLengthRecordReaderのオプションの属性セッター。

パブリック属性

手術

Operation operation

リーダーハンドル

::tensorflow::Output reader_handle

公共機能

固定長レコードリーダー

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)

固定長レコードリーダー

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

容器

Attrs Container(
  StringPiece x
)

エンコーディング

Attrs Encoding(
  StringPiece x
)

フッターバイト

Attrs FooterBytes(
  int64 x
)

ヘッダーバイト

Attrs HeaderBytes(
  int64 x
)

ホップバイト

Attrs HopBytes(
  int64 x
)

共有名

Attrs SharedName(
  StringPiece x
)