class_docstr: Computes and stores the average and current value
class_docstr_tok: ["Computes","and","stores","the","average","and","current","value"]
code: def load_state_dict(self, state_dict):
      self.val = state_dict["val"]
      self.sum = state_dict["sum"]
      self.count = state_dict["count"]
      self.round = state_dict.get("round", None)
  
imports: import bisect
  import time
  from collections import OrderedDict
  from typing import Dict, Optional
label_desc: Use image node_id 5 for calling the AverageMeter obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types