Metric-Guided Synthesis of Class Activation Mapping