# tensorflow::ops::ReaderRestoreState

`#include <io_ops.h>`

[Restore](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_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](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- reader_handle: Handle to a Reader.
- state: Result of a [ReaderSerializeState](https://www.tensorflow.org/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.

<br />

Returns:

- the created `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation`

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-restore-state#classtensorflow_1_1ops_1_1_reader_restore_state_1a89d3806e028e0917362aa36fd51ce849(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input reader_handle, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input state)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-restore-state#classtensorflow_1_1ops_1_1_reader_restore_state_1a03de5f453506a3a89e1318a3def9a647` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-restore-state#classtensorflow_1_1ops_1_1_reader_restore_state_1a169bff5be553fea3119e14d118cd9475() const ` | ` `` ` |

## Public attributes

### operation

```
Operation operation
```

## Public functions

### ReaderRestoreState

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

### operator::tensorflow::Operation

```
 operator::tensorflow::Operation() const 
```