- class psyneulink.core.llvm.__init__.ExecutionMode(value)¶
Specify execution a Composition in interpreted or one of ithe compiled modes. These are used to specify the execution_mode argument of a Composition’s
learnmethods. See Compiled Modes under Compilation for additional details concerning use of each mode by a Composition.
Execute using the Python interpreter; this is the default mode.
compile and run Composition Nodes and Projections individually.
progressively attempt LLVMRun, LLVMexec. LLVM and then Python.
execute the AutodiffComposition
learnmethod using PyTorch, and its
runmethod using the Python interpreter.
For clarity, this mode should only be used when executing an AutodiffComposition; using it with a standard Composition is possible, but it will not have the expected effect of executing its
learnmethod using PyTorch.
compile and run Composition Nodes and Projections using CUDA for GPU.