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 argparse
  import math
  import dgl
  import torch
  import torch.nn.functional
  from dgl.dataloading.negative_sampler import GlobalUniform
  from dgl.nn.pytorch import GraphConv, SAGEConv
  from ogb.linkproppred import DglLinkPropPredDataset, Evaluator
  from torch.nn import Linear
  from torch.utils.data import DataLoader
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