code: def addBeam(beamState, labeling):
      "add beam if it does not yet exist"
      if labeling not in beamState.entries:
          beamState.entries[labeling] = BeamEntry()
  
imports: import torch
  import pickle
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: addBeam(beamState, labeling) without return types