Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@chaoming0625 chaoming0625 released this 15 Apr 13:46
· 839 commits to master since this release
dd238fc

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

  1. Automatic OO transformations on longer need to take dyn_vars or child_objs information.
    These transformations are capable of automatically inferring the underlying dynamical variables.
    Specifically, they include:

    • brainpy.math.grad and other autograd functionalities
    • brainpy.math.jit
    • brainpy.math.for_loop
    • brainpy.math.while_loop
    • brainpy.math.ifelse
    • brainpy.math.cond
  2. Update documentation

  3. 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 and static_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