|
pulsatrix
|
Folds an eval-mode BatchNorm into the Conv2D before it for the duration of an LRP explanation – Zennit's BatchNorm canonizer (roadmap FND-5, lrp_issues #8). More...

Go to the source code of this file.
Classes | |
| class | pulsatrix::BatchNormFold |
While alive, merges bn's affine map into conv's weights and makes bn an exact identity; on destruction, restores both bit for bit. More... | |
Namespaces | |
| namespace | pulsatrix |
Folds an eval-mode BatchNorm into the Conv2D before it for the duration of an LRP explanation – Zennit's BatchNorm canonizer (roadmap FND-5, lrp_issues #8).