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: import datetime
  import os
  import time
  from collections import defaultdict, deque
  import torch
  import torch.distributed
  import torch.nn.functional
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