code: def generate_blas_pyx(func_sigs, sub_sigs, all_sigs, header_name):
      funcs = "\n".join(
          pyx_decl_func(*(s + (header_name,))) for s in func_sigs
      )
      subs = "\n" + "\n".join(
          pyx_decl_sub(*(s[::2] + (header_name,))) for s in sub_sigs
      )
      return (
          make_blas_pyx_preamble(all_sigs)
          + funcs
          + subs
          + blas_py_wrappers
      )
  
imports: from collections import defaultdict
  from operator import itemgetter
  import os
label_desc: Use image node_id 7 for calling a global function with example usage: generate_blas_pyx(func_sigs, sub_sigs, all_sigs, header_name) and returns: unknown