Transformer-Explainability
Transformer-Explainability copied to clipboard
LRP for mean
Hi Hila,
Outstanding Work!! I'm thinking to implement LRP for mean
& sum
function. How would you suggest implementing it? I'm thinking to use Linear
layer if I know the dimensions beforehand. Is there any better way to do it? Do you suggest variants for sum
& mean
over elements of same tensor and sum
and mean
of 2 tensors?