tensorflow::ops::FixedLengthRecordReader::Attrs

tensorflow::ops::FixedLengthRecordReader::Attrs

#include <io_ops.h>

Optional attribute setters for FixedLengthRecordReader.

Summary

Public attributes
container_ = ""
StringPiece
footer_bytes_ = 0
int64
header_bytes_ = 0
int64
hop_bytes_ = 0
int64
shared_name_ = ""
StringPiece
Public functions
Container(StringPiece x)
If non-empty, this reader is placed in the given container.
FooterBytes(int64 x)
Number of bytes in the footer, defaults to 0.
HeaderBytes(int64 x)
Number of bytes in the header, defaults to 0.
HopBytes(int64 x)
Number of bytes to hop before each read.
SharedName(StringPiece x)
If non-empty, this reader is named in the given bucket with this shared_name.

Public attributes

container_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = ""

footer_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0

header_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0

hop_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0

shared_name_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = ""

Public functions

Container

Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container(
  StringPiece x
)

If non-empty, this reader is placed in the given container.

Otherwise, a default container is used.

Defaults to ""

FooterBytes

Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes(
  int64 x
)

Number of bytes in the footer, defaults to 0.

Defaults to 0

HeaderBytes

Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes(
  int64 x
)

Number of bytes in the header, defaults to 0.

Defaults to 0

HopBytes

Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes(
  int64 x
)

Number of bytes to hop before each read.

Default of 0 means using record_bytes.

Defaults to 0

SharedName

Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::SharedName(
  StringPiece x
)

If non-empty, this reader is named in the given bucket with this shared_name.

Otherwise, the node name is used instead.

Defaults to ""

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部