code: def extract_fused_functions(mod):
      """Pass to extract IRModule of only fused primitive functions.
  
      The ExtractFusedFunctions pass invokes SimplifyInference, FuseOps(3),
      and ExtractFusedFunctions in that order
  
      Parameters
      ----------
      mod : tvm.IRModule
  
      Returns
      -------
      ret : Dict[int, tvm.relay.function.Function]
          A module containing only fused primitive functions
      """
      ret_mod = _ffi_api.ExtractFusedFunctions()(mod)
      ret = {}
      for hash_, func in ret_mod.functions.items():
          ret[hash_] = func
      return ret
  
imports: from ...ir import IRModule
  from ...relay import transform, build_module
  from ...runtime.ndarray import cpu
  from .None import _ffi_api
  from .feature import Feature
label_desc: Use image node_id 16 for calling a global function with example usage: extract_fused_functions(mod) and returns: ret