code: def get_api_level_info():
      class FunctionInfo:
          def __init__(self, argument, func_id):
              self.argument = argument
              self.func_id = func_id
  
      class ApiLevelInfo:
          def __init__(self, d):
              self.api_level_dict = d
              self.api_level = 1
              self.function_dict = None
  
          def set_api_level(self, level):
              self.api_level = sorted(self.api_level_dict.keys()).pop()
              if level != -1 and level <= self.api_level:
                  self.api_level = level
              self.function_dict = {
                  uniq_name.split("_")[0]: FunctionInfo(
                      uniq_name.split("_")[1], func_id
                  )
                  for uniq_name, func_id in self.api_level_dict[
                      1
                  ].items()
              }
              for le in range(2, self.api_level + 1):
                  f_dict = {
                      uniq_name.split("_")[0]: FunctionInfo(
                          uniq_name.split("_")[1], func_id
                      )
                      for uniq_name, func_id in self.api_level_dict[
                          le
                      ].items()
                  }
                  self.function_dict.update(f_dict)
  
          def get_current_level(self):
              return self.api_level
  
          def get_function_list(self):
              return self.function_dict.keys()
  
          def get_func_id(self, func_name):
              return self.function_dict[func_name].func_id
  
          def get_argument_code(self, func_name):
              argument_code = self.function_dict[func_name].argument
              if argument_code == "Empty":
                  argument_code = ""
              return argument_code
  
          def get_func_uniq_name(self, func_name):
              return (
                  func_name
                  + "_"
                  + self.function_dict[func_name].argument
              )
  
      return ApiLevelInfo(_api_level_info)
  
imports: import pickle
  import zlib
  from collections import OrderedDict
  from os.path import abspath, join, dirname, expanduser
  import glob
  import os
  import yaml
  import certifi
  import ssl
  from nnabla.utils import nnabla_pb2
  from nnabla.logger import logger
label_desc: Use image node_id 12 for calling a global function with example usage: get_api_level_info() and returns: ApiLevelInfo, self, self, self, argument_code, unknown