code: def test_explainer_api(
      explainer_class,
      model_type,
      output_feature,
      additional_config,
      tmpdir,
  ):
      run_test_explainer_api(
          explainer_class,
          model_type,
          [output_feature],
          additional_config,
          tmpdir,
      )
  
imports: import logging
  import os
  import numpy
  import pandas
  import pytest
  from ludwig.api import LudwigModel
  from ludwig.constants import BATCH_SIZE, BINARY, CATEGORY, MINIMUM_BATCH_SIZE, MODEL_ECD, MODEL_GBM, TYPE
  from ludwig.explain.captum import IntegratedGradientsExplainer
  from ludwig.explain.explainer import Explainer
  from ludwig.explain.explanation import Explanation
  from ludwig.explain.gbm import GBMExplainer
  from tests.integration_tests.utils import binary_feature, category_feature, date_feature, generate_data, image_feature, LocalTestBackend, number_feature, sequence_feature, set_feature, text_feature, timeseries_feature, vector_feature
label_desc: Use image node_id 3 for calling a global function with example usage: test_explainer_api(explainer_class, model_type, output_feature, additional_config, tmpdir) without return types