code: 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()
      )
  
file_path: hub/tensorflow_hub/compressed_module_resolver.py
imports: import hashlib
  import logging
  import urllib
  import tensorflow
  from tensorflow_hub import resolver
label_desc: Use image node_id 1 for calling a global function with example usage: _module_dir(handle) and returns: resolver