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

Function _wrap_initializer

tensorflow/python/saved_model/save.py:476–478  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

474 resource_initializers = []
475
476 def _wrap_initializer(obj):
477 obj._initialize() # pylint: disable=protected-access
478 return constant_op.constant(1.) # Dummy control output
479
480 def _wrap_obj_initializer(obj):
481 return lambda: _wrap_initializer(obj)

Callers 1

_wrap_obj_initializerFunction · 0.85

Calls 2

_initializeMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected