MCPcopy Index your code
hub / github.com/tensorflow/hub / add_implementation

Method add_implementation

tensorflow_hub/registry.py:41–43  ·  view source on GitHub ↗

Register an implementation.

(self, impl)

Source from the content-addressed store, hash-verified

39 self._impls = []
40
41 def add_implementation(self, impl):
42 """Register an implementation."""
43 self._impls += [impl]
44
45 def __call__(self, *args, **kwargs):
46 fails = []

Calls

no outgoing calls