tf.contrib.learn.TensorFlowEstimator.restore()

tf.contrib.learn.TensorFlowEstimator.restore(cls, path, config=None)

Restores model from give path.

Args:
  • path: Path to the checkpoints and other model information.
  • config: RunConfig object that controls the configurations of the session, e.g. num_cores, gpu_memory_fraction, etc. This is allowed to be reconfigured.
Returns:

Estimator, object of the subclass of TensorFlowEstimator.

Raises:
  • ValueError: if path does not contain a model definition.
doc_TensorFlow
2016-10-14 13:06:56
Comments
Leave a Comment

Please login to continue.