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_vars
orchild_objs
information.
These transformations are capable of automatically inferring the underlying dynamical variables.
Specifically, they include:brainpy.math.grad
and other autograd functionalitiesbrainpy.math.jit
brainpy.math.for_loop
brainpy.math.while_loop
brainpy.math.ifelse
brainpy.math.cond
-
Update documentation
-
Fix several bugs
What's Changed
- reorganize operators in
brainpy.math
by @chaoming0625 in #357 - Automatic transformations any function/object using
brainpy.math.Variable
by @chaoming0625 in #358 - New OO transforms support
jax.disable_jit
mode by @chaoming0625 in #359 - [oo transform] Enable new style of jit transformation to support
static_argnums
andstatic_argnames
by @chaoming0625 in #360 - [documentation] update documentation to brainpy>=2.4.0 by @chaoming0625 in #361
Full Changelog: V2.3.8...V2.4.0