MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / as_saver_def

Method as_saver_def

tensorflow/python/training/saver.py:1229–1235  ·  view source on GitHub ↗

Generates a `SaverDef` representation of this saver. Returns: A `SaverDef` proto.

(self)

Source from the content-addressed store, hash-verified

1227 logging.warning("Ignoring: %s", str(e))
1228
1229 def as_saver_def(self):
1230 """Generates a `SaverDef` representation of this saver.
1231
1232 Returns:
1233 A `SaverDef` proto.
1234 """
1235 return self.saver_def
1236
1237 def to_proto(self, export_scope=None):
1238 """Converts this `Saver` to a `SaverDef` protocol buffer.

Calls

no outgoing calls