class_docstr: Track a series of values and provide access to smoothed values over a
  window or the global series average.
class_docstr_tok: ["Track","a","series","of","values","and","provide","access","to","smoothed","values","over","a","window","or","the","global","series","average","."]
code: def __str__(self):
      return self.fmt.format(
          median=self.median,
          avg=self.avg,
          global_avg=self.global_avg,
          max=self.max,
          value=self.value,
      )
  
imports: from collections import defaultdict, deque
  import datetime
  import pickle
  import time
  import errno
  import os
  import torch
  import torch.distributed
label_desc: Use image node_id 9 for calling the SmoothedValue obj's underlying member method code with example usage: obj.__str__() and returns: self