W3cubDocs

/TensorFlow Python

tf.train.Saver.from_proto(saver_def, import_scope=None)

tf.train.Saver.from_proto(saver_def, import_scope=None)

Returns a Saver object created from saver_def.

Args:

  • saver_def: a SaveDef protocol buffer.
  • import_scope: Optional string. Name scope to use.

Returns:

A Saver built from saver_def.

Defined in tensorflow/python/training/saver.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/train/Saver/from_proto