Generates a `SaverDef` representation of this saver. Returns: A `SaverDef` proto.
(self)
| 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. |
no outgoing calls