class_docstr: Helper class responsible for TF-Hub module download and extraction.
class_docstr_tok: ["Helper","class","responsible","for","TF-Hub","module","download","and","extraction","."]
docstr: Logs progress information about ongoing module download.
  
  Args:
    bytes_downloaded: Number of bytes downloaded.
docstr_tok: ["Logs","progress","information","about","ongoing","module","download",".","Args",":","bytes_downloaded",":","Number","of","bytes","downloaded","."]
code: def _log_progress(self, bytes_downloaded):
      """Logs progress information about ongoing module download.
  
      Args:
        bytes_downloaded: Number of bytes downloaded.
      """
      self._total_bytes_downloaded += bytes_downloaded
      now = time.time()
      if (
          self._interactive_mode()
          or now - self._last_progress_msg_print_time > 15
      ):
          # Print progress message every 15 secs or if interactive progress
          # tracking is enabled.
          self._print_download_progress_msg(
              "Downloading %s: %s"
              % (
                  self._url,
                  tf_utils.bytes_to_readable_str(
                      self._total_bytes_downloaded, True
                  ),
              )
          )
          self._last_progress_msg_print_time = now
  
imports: import abc
  import datetime
  import enum
  import os
  import socket
  import ssl
  import sys
  import tarfile
  import tempfile
  import time
  import urllib
  import uuid
  from absl import flags
  from absl import logging
  import tensorflow
  from tensorflow_hub import file_utils
  from tensorflow_hub import tf_utils
label_desc: Use image node_id 3 for calling the DownloadManager obj's underlying member method code with example usage: obj._log_progress(bytes_downloaded) without return types