Optimizer kwargs should be passed as a dictionary rather than implicitly #106
Labels
enhancement
New feature or request
refactoring
Improvements that don't add or modify functionalities.
The parameters passed to the run should be explicitly passed as optimizer kwargs incapsulated as a dictionary, rather than passing whichever additional input to the optimizer.
This also allow to extend the interface to pass other inputs to other parts of the run, e.g., the forward.
secml-torch/src/secmlt/adv/evasion/modular_attack.py
Lines 178 to 185 in 674b2bc
Should be changed to
The text was updated successfully, but these errors were encountered: