class_docstr: A list of Events (for pretty printing).
class_docstr_tok: ["A","list","of","Events","(","for","pretty","printing",")","."]
code: def __init__(self, *args, **kwargs):
      use_cuda = kwargs.pop("use_cuda", True)
      use_device = kwargs.pop("use_device", None)
      profile_memory = kwargs.pop("profile_memory", False)
      with_flops = kwargs.pop("with_flops", False)
      super().__init__(*args, **kwargs)
      self._use_cuda = use_cuda
      self._use_device = use_device
      self._profile_memory = profile_memory
      self._tree_built = False
      self._with_flops = with_flops
  
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 1 to create a new EventList object from inherited base classes: list with example: obj = EventList()