Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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 = []
Callers
5
testResolveAlwaysSupported
Method · 0.95
testResolveWhenSupported
Method · 0.95
testResolveInReverseOrder
Method · 0.95
testResolveThrowsNoSupportedImplementationAndLogTriedOnes
Method · 0.95
_install_default_resolvers
Function · 0.80
Calls
no outgoing calls
Tested by
4
testResolveAlwaysSupported
Method · 0.76
testResolveWhenSupported
Method · 0.76
testResolveInReverseOrder
Method · 0.76
testResolveThrowsNoSupportedImplementationAndLogTriedOnes
Method · 0.76