code: def load_function_info(flatten=False):
      ret = load_yaml_ordered(open(join(here, "functions.yaml"), "r"))
      if not flatten:
          return ret
      ret2 = OrderedDict()
      for _, cat in ret.items():
          for func_name, func in cat.items():
              ret2[func_name] = func
      return ret2
  
imports: from __future__ import print_function
  from collections import OrderedDict
  from os.path import abspath, join, dirname, exists
  from utils.common import check_update
  from utils.type_conv import type_from_proto
  import time
  import yaml
label_desc: Use image node_id 8 for calling a global function with example usage: load_function_info(flatten) and returns: ret2, ret