code: def _create_type_mapping(
      config: dict, reference_backend_init_path: str
  ):
      # print pwd for debugging
      print(os.getcwd())
      print
      with open(reference_backend_init_path, "r") as file:
          file_src = file.read()
  
      init_tree = ast.parse(file_src)
      ast_visitor = ReferenceDataGetter()
      ast_visitor.visit(init_tree)
      del ast_visitor.natives["native_inplace_support"]
      mapping = {}
      for key, value in ast_visitor.natives.items():
          if key not in config.keys():
              logging.warning(
                  f"type {key} found in reference backend but not in config."
              )
              continue
          obj = config[key]
          mapping[value] = BackendNativeObject(
              name=obj["name"], namespace=obj["namespace"]
          )
  
      global type_mapping
      type_mapping = mapping
  
imports: import astunparse
  import ast
  import json
  import sys
  import subprocess
  import os
  import logging
  from shared import BackendNativeObject
label_desc: Use image node_id 3 for calling a global function with example usage: _create_type_mapping(config, reference_backend_init_path) without return types