-
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.
Refactor/execution mode compiled (#2550)
* • composition.py - learn(): add error for use of ExecutionMode.LLVM or ExecutionMode.PyTorch • autodiffcomposition.py - learn(): add warning for use of ExecutionMode.Python • test_learning.py: - add test_execution_mode_pytorch_and_LLVM_errors • test_autodiffcomposition.py: - add test_execution_mode_python_warning * [skip ci] * [skip ci] * • llvm/__init__.py - add ExecutionMode.COMPILED (~ Python | PyTorch). • compositon.py, autodiffcomposition.py, compositionrunner.py: - modifed to sue ExecutionMode.COMPILED for condionals • test_autodiffcomposition.py: - test_execution_mode_python_error() replaces test_execution_mode_python_warning() * - * • Modification per Jan's suggestions * • test_autodiffcomposition.py - test_execution_mode_python_error(): fix bug
- Loading branch information
Showing
6 changed files
with
28 additions
and
26 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
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
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