-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/AudodiffComposition: Add helper function to return the first se…
…t of learning results The 'benchmark' fixture runs and arbitrary number of iterations. Because of this it is override in conftest.py to preserve the return value of the first invocation. However, this only applies to explicitly returned values, not stateful variables. Add a helper function that returns 'learning_results' to workaround this restriction. Fixes --benchmark-enable test in AutodiffComposition Fixes: 521a4a2 ("Tentative learning branch (#2623)") Signed-off-by: Jan Vesely <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters