tensorflow_hub/compressed_module_resolver.py
def download(handle, tmp_dir):
      """Fetch a module via HTTP(S), handling redirect and download headers."""
      request = urllib.request.Request(_append_compressed_format_query(handle))
      response = self._call_urlopen(request)
      return resolver.DownloadManager(handle).download_and_uncompress(
          response, tmp_dir)
Fetch a module via HTTP(S), handling redirect and download headers.
Fetch a module via HTTP(S), handling redirect and download headers.
Fetch a module via HTTP ( S ) handling redirect and download headers .
def download(handle, tmp_dir):
      request = urllib.request.Request(_append_compressed_format_query(handle))
      response = self._call_urlopen(request)
      return resolver.DownloadManager(handle).download_and_uncompress(
          response, tmp_dir)
def download ( handle , tmp_dir ) : request = urllib . request . Request ( _append_compressed_format_query ( handle ) ) response = self . _call_urlopen ( request ) return resolver . DownloadManager ( handle ) . download_and_uncompress ( response , tmp_dir )
Fetch a module via HTTP(S), handling redirect and download headers.
Fetch a module via HTTP ( S ) handling redirect and download headers .
"""Fetch a module via HTTP(S), handling redirect and download headers."""
handle
tmp_dir