code: def register_notrace(trace_type, primitive_fun):
      notrace_primitives[trace_type].add(primitive_fun)
  
imports: import warnings
  from contextlib import contextmanager
  from collections import defaultdict
  from .util import subvals, toposort
  from .wrap_util import wraps
label_desc: Use image node_id 3 for calling a global function with example usage: register_notrace(trace_type, primitive_fun) without return types