-
BrainPy has inconsistent guide on how to clear the name cache in the code and documentation, and it seems that none of them work.
For example:
1. In `brainpy/_src/math/object_transform/naming.py…
-
`collections.Iterable` this usage is deprecated in py3.10 and later, use `collections.abc.Iterable` instead.
```python
import brainpy as bp
hh = bp.neurons.HH((10, 20), keep_size=True)
hh2 = hh[…
-
Came from #9. Thanks for solving that problem!
There's another error in the same example:
```
Namespace(T=100, platform='cpu', batch=64, epochs=15, out_dir='./logs', lr=0.001, tau=2.0)
Traceback…
-
Hello,
When I ran this example https://github.com/brainpy/examples/blob/main/brain_inspired_computing/mnist_lif_readout.py, the error showed:
```
Namespace(T=100, platform='cpu', batch=64, epochs…
-
- [x] Check for duplicate issues.
- [x] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
- [x] If applicable, include full error messages/tracebacks.
…
-
Hi, is there a way to view the computational graph when training BrainPy models by backpropagation? I have found some tutorials on viewing computational graph for JAX functions (https://bnikolic.co.uk…
-
- [x] Check for duplicate issues.
- [x] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
- [x] If applicable, include full error messages/tracebacks.
…
-
Hello!
I would like to customize a synapse model.
I have read:
* https://brainpy.readthedocs.io/en/latest/tutorial_building/phenon_synapse_models.html
* https://brainpy.readthedocs.io/en/latest/…
-
- [x] Check for duplicate issues.
- [x] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:
- [x] If applicable, include full error messages/tracebacks.
…
-
Hi, is there a guide on writing custom gradient functions in BrainPy (such as those defined in `brainpy.math.surrogate`)?