W3cubDocs

/TensorFlow Python

tf.contrib.learn.run_n(args, *kwargs)

tf.contrib.learn.run_n(*args, **kwargs)

See the guide: Learn (contrib) > Graph actions

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

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.

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.

Defined in tensorflow/python/util/deprecation.py.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/learn/run_n