Home
last modified time | relevance | path

Searched refs:saveable_factory (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/training/saving/
Dsaveable_object_util.py370 for name, saveable_factory in (
372 if not callable(saveable_factory):
373 if isinstance(saveable_factory, saveable_object.SaveableObject):
381 if is_factory_for_restored_saveable_object(saveable_factory):
382 saveable_map[name] = (saveable_factory.keywords["save_function"],
383 saveable_factory.keywords["restore_function"])
386 saveable_factory, object_to_save)
392 def _trace_save_and_restore_function(saveable_factory, object_to_save): argument
399 maybe_saveable = saveable_factory(name=checkpoint_key)
/external/tensorflow/tensorflow/python/training/tracking/
Dgraph_view.py258 for name, saveable_factory in (
277 if callable(saveable_factory):
279 saveable_factory, attribute.checkpoint_key,
282 maybe_saveable = saveable_factory
Dbase.py419 saveable_factory = saveables.get(serialized_tensor.name, None)
420 if saveable_factory is None:
429 if callable(saveable_factory):
430 saveable = saveable_factory(name=serialized_tensor.checkpoint_key)
432 saveable = saveable_factory
Dutil.py343 for attribute_name, saveable_factory in (
345 if callable(saveable_factory):
351 saveable = saveable_factory()
356 if not saveable_factory("").optional_restore:
361 saveable = saveable_factory