TensorFlow 2.0 Beta is available Learn more

tf.contrib.learn.run_n

View source on GitHub

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
)

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.