code: def _py_range(start_or_stop, stop, step):
      if step is not UNSPECIFIED:
          return range(start_or_stop, stop, step)
      if stop is not UNSPECIFIED:
          return range(start_or_stop, stop)
      return range(start_or_stop)
  
imports: import inspect
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 22 for calling a global function with example usage: _py_range(start_or_stop, stop, step) and returns: range, range, range