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

Method _recreate_user_object

tensorflow/python/saved_model/load.py:324–329  ·  view source on GitHub ↗

Instantiates a SavedUserObject.

(self, proto)

Source from the content-addressed store, hash-verified

322 return factory[kind]()
323
324 def _recreate_user_object(self, proto):
325 """Instantiates a SavedUserObject."""
326 looked_up = revived_types.deserialize(proto)
327 if looked_up is None:
328 return self._recreate_base_user_object(proto)
329 return looked_up
330
331 def _recreate_base_user_object(self, proto):
332 del proto

Callers 1

_recreateMethod · 0.95

Calls 2

deserializeMethod · 0.45

Tested by

no test coverage detected