code: def promote(mod, fn, handle, verbose=False):
      orig_fn = utils.get_func(mod, fn)
      maybe_float = utils.verbosify(utils.maybe_float, fn, verbose)
      wrapper = make_promote_wrapper(orig_fn, maybe_float)
      utils.set_func_save(handle, mod, fn, wrapper)
  
file_path: apex/apex/amp/wrap.py
imports: from .None import compat
  from .None import utils
  from ._amp_state import _amp_state
  from .None import rnn_compat
  import functools
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: promote(mod, fn, handle, verbose) without return types