code: def update_to(self, b=1, bsize=1, tsize=None):
      if tsize is not None:
          self.total = tsize
      self.update(b * bsize - self.n)
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/dataset_utils/download_critero_and_avazu.py
imports: import os
  import zipfile
  import urllib.request
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling the DownloadProgressBar obj's underlying member method code with example usage: obj.update_to(b, bsize, tsize) without return types