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.