-
-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewritten Engine's terminate and terminate_epoch logic (#2645)
* Added test_engine_run_resume * Terminate/Terminate Single Epoch work on all EPOCH/ITERATION events * - terminate() work on all events, called on catched _EngineTerminateException - terminate_epoch work on iteration-based events, called on catched _EngineTerminateSingleEpochExpection - Fixed issue when attaching handlers on Events.TERMINATE_SINGLE_EPOCH * Updated docstring * Fixed issue with max_iters handling * Fixed issue with _EngineTerminateException handled as a general exception * Updated tests and docs Co-authored-by: Sadra Barikbin <[email protected]>
- Loading branch information
1 parent
48364bd
commit 32ba9cd
Showing
3 changed files
with
346 additions
and
56 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
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
Oops, something went wrong.