code: def get_apu_version(enable_apu, android_ver, target_soc):
      if enable_apu:
          android_ver = (int)(android_ver)
          if android_ver <= 10:  # android Q
              target_soc = target_soc.lower()
              if target_soc.startswith("mt67"):
                  return 1
              else:
                  return 2
          elif android_ver == 11:  # android R
              target_soc = target_soc.lower()
              if (
                  target_soc.startswith("mt689")
                  or target_soc == "mt6877"
              ):
                  return 4
              else:
                  return 3
          else:  # android S
              return 4
      return -1
  
file_path: mace/tools/python/apu_utils.py
imports: import argparse
  import os
  import sys
  from utils import device
  from utils.util import MaceLogger
  from utils.util import mace_check
label_desc: Use image node_id 1 for calling a global function with example usage: get_apu_version(enable_apu, android_ver, target_soc) and returns: unknown, int, int, int, int, int