# tf.contrib.learn.run_n

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/learn/python/learn/graph_actions.py#L631-L650) |

Run `output_dict` tensors `n` times, with the same `feed_dict` each run. (deprecated)

    tf.contrib.learn.run_n(
        output_dict, feed_dict=None, restore_checkpoint_path=None, n=1
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2017-02-15. Instructions for updating: graph_actions.py will be deleted. Use tf.train.\* utilities instead. You can use learn/estimators/estimator.py as an example.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `output_dict` | A `dict` mapping string names to tensors to run. Must all be from the same graph. |
| `feed_dict` | `dict` of input values to feed each run. |
| `restore_checkpoint_path` | A string containing the path to a checkpoint to restore. |
| `n` | Number of times to repeat. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of `n` `dict` objects, each containing values read from `output_dict` tensors. ||

<br />