class_docstr: Provides a `total_time` format parameter
class_docstr_tok: ["Provides","a","`","total_time","`","format","parameter"]
code: def format_dict(self):
      d = super().format_dict
      remaining_iterations = d["total"] - d["n"]
      remaining_seconds_this_epoch = remaining_iterations / (
          d.get("rate") or 1.0
      )
      d["estimated_time_per_epoch"] = (
          remaining_seconds_this_epoch + d["elapsed"]
      )
      d["estimated_total_seconds"] = (
          d["estimated_time_per_epoch"] * self.total_epochs
      )
      d["estimated_remaining_seconds"] = (
          remaining_seconds_this_epoch
          + self.remaining_epochs * d["estimated_time_per_epoch"]
      )
      return d
  
imports: import time
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling the ProgressBar obj's underlying member method code with example usage: obj.format_dict() and returns: d