LMDBReader
tensorflow C++ API
A Reader that outputs the records from a LMDB file.
Summary
To use, enqueue strings in a Queue. ReaderRead will take the front work string and output (work, work).
Arguments:
- scope: A Scope object
Optional attributes (seeAttrs
):
- container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.
- shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.
Returns:
Output
: The handle to reference the Reader.
Constructor
- LMDBReader(const ::tensorflow::Scope & scope, const IdentityReader::Attrs & attrs) .
Public attributes
- tensorflow::Output reader_handle.
LMDBReader block
Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_io_ops.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- LMDBReader ::Attrs attrs : input option value. ex) container_ = "";shared_name_ = "";;
Return:
- Output reader_handle : Output object of LMDBReader class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.