Currently, IF Attributors (CG, Explicit, Arnoldi) require the second parameter (data) of loss_func to be named as "data_target_pair". This PR relax this requirement.
2. Summary of the change
Inspect the loss function's signature and use it in the implementation of IF
3. What tests have been added/updated for the change?
[ ] Unit test: Typically, this should be included if you implemented a new function/fixed a bug.
Description
1. Motivation and Context
Currently, IF Attributors (CG, Explicit, Arnoldi) require the second parameter (data) of
loss_func
to be named as "data_target_pair". This PR relax this requirement.2. Summary of the change
Inspect the loss function's signature and use it in the implementation of IF
3. What tests have been added/updated for the change?