code: def safe_div(num, denom):
      if denom > 0:
          return num / denom
      else:
          return 0
  
file_path: DeepKE/src/deepke/event_extraction/standard/degree/utils.py
imports: from tensorboardX import SummaryWriter
label_desc: Use image node_id 2 for calling a global function with example usage: safe_div(num, denom) and returns: unknown, int