class_docstr: Displays a progress bar, indicating the percentage of batches processed within each epoch.
  
  Parameters
  ----------
  total: int
      total number of batches per epoch
  length: int
      number of chars to define maximum length of progress bar
  
  Examples
  --------
  >>> progress_bar = mx.callback.ProgressBar(total=2)
  >>> mod.fit(data, num_epoch=5, batch_end_callback=progress_bar)
  [========--------] 50.0%
  [================] 100.0%
class_docstr_tok: ["Displays","a","progress","bar",",","indicating","the","percentage","of","batches","processed","within","each","epoch",".","Parameters","--","--","--","--","--","total",":","int","total","number","of","batches","per","epoch","length",":","int","number","of","chars","to","define","maximum","length","of","progress","bar","Examples","--","--","--","--",">",">",">","progress_bar","=","mx.callback.ProgressBar","(","total=2",")",">",">",">","mod.fit","(","data",",","num_epoch=5",",","batch_end_callback=progress_bar",")","[","========","--","--","--","--","]","50.0","%","[","================","]","100.0","%"]
docstr: Callback to Show progress bar.
docstr_tok: ["Callback","to","Show","progress","bar","."]
code: def __call__(self, param):
      """Callback to Show progress bar."""
      count = param.nbatch
      filled_len = int(round(self.bar_len * count / float(self.total)))
      percents = math.ceil(100.0 * count / float(self.total))
      prog_bar = "=" * filled_len + "-" * (self.bar_len - filled_len)
      logging.info("[%s] %s%s\r", prog_bar, percents, "%")
  
file_path: mxnet/python/mxnet/callback.py
imports: import logging
  import math
  import time
  from .model import save_checkpoint
label_desc: Use image node_id 2 for calling the ProgressBar obj's underlying member method code with example usage: obj.__call__(param) without return types