|
pulsatrix
|
An explanation result: the raw attribution values, the method that produced them, and any relevant metadata (charter Part 2 SS4). More...
#include <attribution.hpp>

Public Attributes | |
| std::string | method |
| Which explanation method produced this result (e.g. "saliency", "grad_cam"). | |
| Tensor | values |
| The raw attribution values, same shape as the explained input (or a method-specific shape, e.g. Grad-CAM's per-channel map). | |
| std::unordered_map< std::string, std::string > | metadata |
| Method-specific metadata (e.g. {"baseline", "zero"} for Integrated Gradients). | |
An explanation result: the raw attribution values, the method that produced them, and any relevant metadata (charter Part 2 SS4).
| std::unordered_map<std::string, std::string> pulsatrix::Attribution::metadata |
Method-specific metadata (e.g. {"baseline", "zero"} for Integrated Gradients).
| std::string pulsatrix::Attribution::method |
Which explanation method produced this result (e.g. "saliency", "grad_cam").
| Tensor pulsatrix::Attribution::values |
The raw attribution values, same shape as the explained input (or a method-specific shape, e.g. Grad-CAM's per-channel map).