Version 2.4.0
This branch of releases (brainpy==2.4.x) are going to support the large-scale modeling for brain dynamics.
As the start, this release provides support for automatic object-oriented (OO) transformations.
What's New
-
Automatic OO transformations on longer need to take
dyn_varsorchild_objsinformation.
These transformations are capable of automatically inferring the underlying dynamical variables.
Specifically, they include:brainpy.math.gradand other autograd functionalitiesbrainpy.math.jitbrainpy.math.for_loopbrainpy.math.while_loopbrainpy.math.ifelsebrainpy.math.cond
-
Update documentation
-
Fix several bugs
What's Changed
- reorganize operators in
brainpy.mathby @chaoming0625 in #357 - Automatic transformations any function/object using
brainpy.math.Variableby @chaoming0625 in #358 - New OO transforms support
jax.disable_jitmode by @chaoming0625 in #359 - [oo transform] Enable new style of jit transformation to support
static_argnumsandstatic_argnamesby @chaoming0625 in #360 - [documentation] update documentation to brainpy>=2.4.0 by @chaoming0625 in #361
Full Changelog: V2.3.8...V2.4.0