alibi icon indicating copy to clipboard operation
alibi copied to clipboard

[IntegratedGradients] - handle non-array `forward_kwargs`

Open jklaise opened this issue 3 years ago • 0 comments

Currently forward_kwargs expects to contain arrays, this is to handle the use case of explaining transformer models. However, models can have more general forward_kwargs which should be handled. See Captum docs for additional_forward_kwargs.

jklaise avatar Jul 08 '21 09:07 jklaise