Solved by googlebot in post #2 
              
              
                create a function wrapper (partial function or lambda), hiding “auxiliary” parameters from captum 
or use additional_forward_args argument (see docs)