tf.contrib.learn.run_n

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

Defined in tensorflow/contrib/learn/python/learn/graph_actions.py.

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

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.

Returns:

A list of n dict objects, each containing values read from output_dict tensors.