shap.plots.image_to_text

shap.plots.image_to_text(shap_values)

Plots SHAP values for image inputs with test outputs.

Parameters:
shap_values[numpy.array]

List of arrays of SHAP values. Each array has the shap (# width x height x channels x num output tokens). One array for each sample