chr5tphr / zennit

Zennit is a high-level framework in Python using PyTorch for explaining/exploring neural networks using attribution methods like LRP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core: Warn the user when falling back to gradient

chr5tphr opened this issue · comments

Some modules are implicitly mapped to the gradient.

We can explicitly map Module types to None in their respective module_map in composites and warn the user when no rule is found to prevent hidden incompatibilities.

An example for an implicitly mapped module is MaxPooling.