class_docstr: State dictionary that behaves like a python dict but accepts StateKeys
class_docstr_tok: ["State","dictionary","that","behaves","like","a","python","dict","but","accepts","StateKeys"]
code: def update(self, d):
      new_dict = {}
      for key in d:
          new_dict[self.get_key(key)] = d[key]
      super(State, self).update(new_dict)
  
imports: from torchbearer import Metric
  import warnings
label_desc: Use image node_id 8 for calling the State obj's underlying member method code with example usage: obj.update(d) without return types