code: def get_extension_full_path(pkg_path, *args):
      assert len(args) >= 1
      dir_path = os.path.join(os.path.dirname(pkg_path), *args[:-1])
      full_path = os.path.join(dir_path, args[-1] + get_ext_suffix())
      return full_path
  
imports: import json
  import multiprocessing
  import os
  import sys
  import sysconfig
  import warnings
  from contextlib import contextmanager
  from horovod.common.exceptions import get_version_mismatch_message, HorovodVersionMismatchError
label_desc: Use image node_id 2 for calling a global function with example usage: get_extension_full_path(pkg_path) and returns: full_path