code: def patch_functions():
      org_funcs = {}
      for mod, name in _supported_function_set:
          org_func = getattr(mod, name)
          org_funcs[(mod, name)] = org_func
          setattr(
              mod,
              name,
              fake_as_funcnode(
                  org_func, name, experimental_warning=False
              ),
          )
      try:
          yield
      finally:
          for mod, name in _supported_function_set:
              setattr(mod, name, org_funcs[(mod, name)])
  
imports: from contextlib import contextmanager
  import chainer.functions
  from onnx_chainer import functions
  from onnx_chainer.functions.converter import FunctionConverter
  from onnx_chainer.replace_func import fake_as_funcnode
label_desc: Use image node_id 2 for calling a global function with example usage: patch_functions() without return types