code: def copy_origin(from_node, to_node):
      """Copies the origin info from a node to another, recursively."""
      origin = anno.Basic.ORIGIN.of(from_node, default=None)
      if origin is None:
          return
      if not isinstance(to_node, (list, tuple)):
          to_node = (to_node,)
      for node in to_node:
          for n in gast.walk(node):
              anno.setanno(n, anno.Basic.ORIGIN, origin)
  
imports: import collections
  import difflib
  import inspect
  import os
  import tokenize
  import gast
  import six
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import ast_util
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import pretty_printer
label_desc: Use image node_id 4 for calling a global function with example usage: copy_origin(from_node, to_node) without return types