lava-optimization
lava-optimization copied to clipboard
Input validation for solver-related parameters
User Story
As a developer/user, I want to be warned if I use wrong/non-existent parameters when configuring the solver.
I'm submitting a ...
- [x] feature request
Condition of satisfaction
- SolverConfig checks parameters types and for invalid combinations (e.g., probe time/energy on CPU backend)
- SolverConfig checks hyperparameters existence, type consistency and domain
These should not only be updated on the tests, the solver needs to also assert only valid fields for hyperparameter are allowed
These should not only be updated on the tests, the solver needs to also assert only valid fields for hyperparameter are allowed
Agree, we need to design a system to do that since different neuron models accept different hyperparameters.