<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/training/py_checkpoint_reader.py#L81-L96) |

A function that returns a CheckPointReader.

    tf.compat.v1.train.NewCheckpointReader(
        filepattern
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `filepattern` | The filename. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A CheckpointReader object. ||

<br />