code: def add_result(self, run, result):
      assert len(result) == 3
      assert run >= 0 and run < len(self.results)
      self.results[run].append(result)
  
imports: import torch
label_desc: Use image node_id 2 for calling the Logger obj's underlying member method code with example usage: obj.add_result(run, result) without return types