tensorflow_hub/compressed_module_resolver.py
def _module_dir(handle):
  """Returns the directory where to cache the module."""
  cache_dir = resolver.tfhub_cache_dir(use_temp=True)
  return resolver.create_local_module_dir(
      cache_dir,
      hashlib.sha1(handle.encode("utf8")).hexdigest())
Returns the directory where to cache the module.
Returns the directory where to cache the module.
Returns the directory where to cache the module .
def _module_dir(handle):
  cache_dir = resolver.tfhub_cache_dir(use_temp=True)
  return resolver.create_local_module_dir(
      cache_dir,
      hashlib.sha1(handle.encode("utf8")).hexdigest())
def _module_dir ( handle ) : cache_dir = resolver . tfhub_cache_dir ( use_temp = True ) return resolver . create_local_module_dir ( cache_dir , hashlib . sha1 ( handle . encode ( "utf8" ) ) . hexdigest ( ) )
Returns the directory where to cache the module.
Returns the directory where to cache the module .
"""Returns the directory where to cache the module."""
handle