captum icon indicating copy to clipboard operation
captum copied to clipboard

Setting Rule for LRP on different activation function.

Open yap231995 opened this issue 1 year ago • 0 comments

❓ Questions and Help

We have a set of listed resources available on the website and FAQ: https://captum.ai/ and https://captum.ai/docs/faq . Feel free to open an issue here on the github or in our discussion forums:

I try to apply LRP, but i see there are some need to set rules. For example my activation function ELU.

TypeError: Module of type <class 'torch.nn.modules.activation.ELU'> has no rule defined and nodefault rule exists for this module type. Please, set a ruleexplicitly for this module and assure that it is appropriatefor this type of layer.

How do i set this rule?

Thanks

yap231995 avatar Jan 16 '24 08:01 yap231995