Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ReaderRestoreState
#include <io_ops.h>
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:
Public attributes
Public functions
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::ReaderRestoreState Class Reference\n\ntensorflow::ops::ReaderRestoreState\n===================================\n\n`#include \u003cio_ops.h\u003e`\n\n[Restore](/versions/r1.15/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_restore) a reader to a previously saved state.\n\nSummary\n-------\n\nNot all Readers support being restored, so this can produce an Unimplemented error.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- reader_handle: Handle to a Reader.\n- state: Result of a [ReaderSerializeState](/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-serialize-state#classtensorflow_1_1ops_1_1_reader_serialize_state) of a Reader with type matching reader_handle.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ReaderRestoreState](#classtensorflow_1_1ops_1_1_reader_restore_state_1a89d3806e028e0917362aa36fd51ce849)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` reader_handle, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` state)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_reader_restore_state_1a03de5f453506a3a89e1318a3def9a647) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_reader_restore_state_1a169bff5be553fea3119e14d118cd9475)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### ReaderRestoreState\n\n```gdscript\n ReaderRestoreState(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input reader_handle,\n ::tensorflow::Input state\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n```"]]