pulsatrix
Loading...
Searching...
No Matches
grad_cam.hpp File Reference

Grad-CAM – gradient-weighted class activation mapping over the last conv layer (charter Part 1, Phase 2; theory: xai_context.aDNA's vision_gradcam.md). More...

#include <stdexcept>
#include <string>
#include <vector>
#include "pulsatrix/assert.hpp"
#include "pulsatrix/attribution.hpp"
#include "pulsatrix/device_backend.hpp"
#include "pulsatrix/explainer_context.hpp"
#include "pulsatrix/tensor.hpp"
Include dependency graph for grad_cam.hpp:

Go to the source code of this file.

Classes

class  pulsatrix::GradCAM
 L^c = ReLU(sum_k alpha^c_k * A^k), where alpha^c_k = mean_ij(d(y^c)/d(A^k_ij)) and A is the last OpType::Conv node's activation. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

Grad-CAM – gradient-weighted class activation mapping over the last conv layer (charter Part 1, Phase 2; theory: xai_context.aDNA's vision_gradcam.md).