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

Method is_supported

tensorflow_hub/resolver_test.py:75–76  ·  view source on GitHub ↗
(self, handle)

Source from the content-addressed store, hash-verified

73 self.prefix = prefix
74
75 def is_supported(self, handle):
76 return handle.startswith(self.prefix)
77
78 def __call__(self, handle):
79 if handle.endswith("error"):

Callers 1

testAlwaysSupportedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected