Computing Modes#
The math module for whole BrainPy ecosystem.
This module provides basic mathematical operations, including:
numpy-like array operations
linear algebra functions
random sampling functions
discrete fourier transform functions
just-in-time compilation for class objects
automatic differentiation for class objects
dedicated operators for brain dynamics modeling
activation functions
device/dtype switching
and others
Details in the following.
Base class for computation Mode |
|
Normal non-batching mode. |
|
Batching mode. |
|
Training mode requires data batching. |
|
Normal non-batching mode. |
|
Batching mode. |
|
Training mode requires data batching. |