#include <io_ops.h>
A Reader that outputs the entire contents of a file as a value.
To use, enqueue filenames in a Queue. The output of ReaderRead will be a filename (key) and the contents of that file (value).
Arguments:
Optional attributes (see Attrs
):
Returns:
Output
: The handle to reference the Reader. Constructors and Destructors | |
---|---|
WholeFileReader(const ::tensorflow::Scope & scope) | |
WholeFileReader(const ::tensorflow::Scope & scope, const WholeFileReader::Attrs & attrs) |
Public attributes | |
---|---|
reader_handle |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
Container(StringPiece x) | |
SharedName(StringPiece x) |
Structs | |
---|---|
tensorflow::ops::WholeFileReader::Attrs | Optional attribute setters for WholeFileReader. |
::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() const
operator::tensorflow::Output() const
Attrs Container( StringPiece x )
Attrs SharedName( StringPiece x )
© 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/class/tensorflow/ops/whole-file-reader.html