Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 1fbecfac authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Add a generic functional test for `OptiModule.set_state`.

* Add `test_set_state_results` to verify that resetting a modules' state
  enables running the same computation twice. This should enable detecting
  cases when information is missing from the returned state dict.

* Note that at the moment noise-addition modules are ignored. We could look
  into a way to access and restore RNG states (when CSPRNG is not used).
parent 74d6808f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment