Link Search Menu Expand Document

ReaderRestoreState


tensorflow C++ API

tensorflow::ops::ReaderRestoreState

Restore a reader to a previously saved state.


Summary

Not all Readers support being restored, so this can produce an Unimplemented error.

Arguments:

  • scope: A Scope object
  • reader_handle: Handle to a Reader.
  • state: Result of a ReaderSerializeState of a Reader with type matching reader_handle.

Returns:

  • the created Operation

Constructor

  • ReaderRestoreState(const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input state).

Public attributes

  • tensorflow::Operation operation.

ReaderRestoreState 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.)
  • Input reader_handle : connect Input node.
  • Input state : connect Input node.

Return:

  • Operation operation: Output object of ReaderRestoreState class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method