Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc for brainpylib>=0.3.0 #645

Merged
merged 4 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions .github/workflows/docs.yml

This file was deleted.

2,663 changes: 2,663 additions & 0 deletions brainpy-changelog.md

Large diffs are not rendered by default.

13 changes: 1 addition & 12 deletions brainpy/_src/dynold/neurons/biological_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,11 @@ def __init__(
self,
*args,
input_var: bool = True,
noise: Union[float, ArrayType, Initializer, Callable] = None,
**kwargs,
):
self.input_var = input_var
super().__init__(*args, **kwargs, init_var=False)

self.noise = init_noise(noise, self.varshape, num_vars=4)
if self.noise is not None:
self.integral = sdeint(method=self.method, f=self.derivative, g=self.noise)
self.reset_state(self.mode)

def reset_state(self, batch_size=None):
Expand Down Expand Up @@ -302,14 +298,10 @@ def __init__(
self,
*args,
input_var: bool = True,
noise: Union[float, ArrayType, Initializer, Callable] = None,
**kwargs,
):
self.input_var = input_var
super().__init__(*args, **kwargs, init_var=False)
self.noise = init_noise(noise, self.varshape, num_vars=2)
if self.noise is not None:
self.integral = sdeint(method=self.method, f=self.derivative, g=self.noise)
self.reset_state(self.mode)

def reset_state(self, batch_size=None):
Expand Down Expand Up @@ -808,14 +800,11 @@ def __init__(
self,
*args,
input_var: bool = True,
noise: Union[float, ArrayType, Initializer, Callable] = None,

**kwargs,
):
self.input_var = input_var
super().__init__(*args, **kwargs, init_var=False)
self.noise = init_noise(noise, self.varshape, num_vars=3)
if self.noise is not None:
self.integral = sdeint(method=self.method, f=self.derivative, g=self.noise)
self.reset_state(self.mode)

def reset_state(self, batch_size=None):
Expand Down
62 changes: 62 additions & 0 deletions brainpylib-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Release notes (``brainpylib``)

## Version 0.3.0

- Fix bugs on windows platform
- remove all customized C++ and CUDA operators


## Version 0.2.8

- Fix bugs that the DLL cannot be loaded correctly when windows does not have a c++ environment,

## ~~Version 0.2.7(YANKED)~~

## Version 0.2.6

- Fix bugs of taichi call function for single result

## Version 0.2.5

- Add new taichi call function for single result on CPU backend

## Version 0.2.4

- Add taichi customized operator call on arm64 backend

## ~~Version 0.2.3(YANKED)~~

## Version 0.2.2

- Fix bugs of just-in-time connectivity operators on CPU device

## Version 0.2.1

- Fix bugs of Taichi AOT call on GPU backend by ``cudaMemset()`` CUDA arrays

## Version 0.2.0

- Add XLA custom call from [Taichi](https://github.com/taichi-dev/taichi) AOT (ahead of time) operators on both CPU and
GPU platforms

## Version 0.0.5

- Support operator customization on GPU by ``numba``

## Version 0.0.4

- Support operator customization on CPU by ``numba``

## Version 0.0.3

- Support ``event_sum()`` operator on GPU
- Support ``event_prod()`` operator on CPU
- Support ``atomic_sum()`` operator on GPU
- Support ``atomic_prod()`` operator on CPU and GPU

## Version 0.0.2

- Support ``event_sum()`` operator on CPU
- Support ``event_sum2()`` operator on CPU
- Support ``atomic_sum()`` operator on CPU

Loading
Loading