class_docstr: A list of Events (for pretty printing).
class_docstr_tok: ["A","list","of","Events","(","for","pretty","printing",")","."]
code: def __str__(self):
      return self.table()
  
imports: import bisect
  import itertools
  import math
  from collections import defaultdict, namedtuple
  from operator import attrgetter
  from typing import Any, Dict, List, Optional, Tuple
  import torch
  from torch.autograd import DeviceType
label_desc: Use image node_id 3 for calling the EventList obj's underlying member method code with example usage: obj.__str__() and returns: self