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

Method __init__

tensorflow/python/saved_model/loader_impl.py:275–284  ·  view source on GitHub ↗

Creates a `SavedModelLoader`. Args: export_dir: Directory in which the SavedModel protocol buffer and variables to be loaded are located.

(self, export_dir)

Source from the content-addressed store, hash-verified

273 """Load graphs and restore variable values from a `SavedModel`."""
274
275 def __init__(self, export_dir):
276 """Creates a `SavedModelLoader`.
277
278 Args:
279 export_dir: Directory in which the SavedModel protocol buffer and
280 variables to be loaded are located.
281 """
282 self._export_dir = export_dir
283 self._variables_path = saved_model_utils.get_variables_path(export_dir)
284 self._saved_model = parse_saved_model(export_dir)
285
286 @property
287 def export_dir(self):

Callers

nothing calls this directly

Calls 1

parse_saved_modelFunction · 0.85

Tested by

no test coverage detected