[math & dyn] add brainpy.math.exprel, and change the code in the corresponding HH neuron models to improve numerical computation accuracy#557
Merged
chaoming0625 merged 8 commits intobrainpy:masterfrom Dec 10, 2023
Conversation
* [running] fix multiprocessing bugs (brainpy#547) * [running] fix multiprocessing bugs * fix tests * [docs] Fix typo in docs (brainpy#549) * ⬆️ Bump conda-incubator/setup-miniconda from 2 to 3 (brainpy#551) Bumps [conda-incubator/setup-miniconda](https://github.com/conda-incubator/setup-miniconda) from 2 to 3. - [Release notes](https://github.com/conda-incubator/setup-miniconda/releases) - [Changelog](https://github.com/conda-incubator/setup-miniconda/blob/main/CHANGELOG.md) - [Commits](conda-incubator/setup-miniconda@v2...v3) --- updated-dependencies: - dependency-name: conda-incubator/setup-miniconda dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * updates (brainpy#550) * [running] fix multiprocessing bugs * fix tests * [doc] update doc * update * [math] add `brainpy.math.gpu_memory_preallocation()` for controlling GPU memory preallocation * [math] `clear_buffer_memory` support to clear array and compilation both * [dyn] compatible old version of `.reset_state()` function * [setup] update installation info * ``brainpy.math.defjvp`` and ``brainpy.math.XLACustomOp.defjvp`` (brainpy#554) * [running] fix multiprocessing bugs * fix tests * [doc] update doc * update * [math] add `brainpy.math.gpu_memory_preallocation()` for controlling GPU memory preallocation * [math] `clear_buffer_memory` support to clear array and compilation both * [dyn] compatible old version of `.reset_state()` function * [setup] update installation info * [install] upgrade dependency * updates * [math] add `brainpy.math.defjvp`, support to define jvp rules for Primitive with multiple results. See examples in `test_ad_support.py` * [math] add `brainpy.math.XLACustomOp.defjvp` * [doc] upgrade `brainpy.math.defjvp` docstring * ⬆️ Bump actions/setup-python from 4 to 5 (brainpy#555) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Sichao He <1310722434@qq.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…elay register API `DynamicalSystem.register_local_delay()` and `DynamicalSystem.get_local_delay()`
…rresponding HH neuron models to improve numerical computation accuracy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
How Has This Been Tested
Types of changes
Checklist
Other information