Array#
- class brainpy.math.Array(value, dtype=None)[source]#
Multiple-dimensional array in BrainPy.
Compared to
jax.Array,Arrayhas the following advantages:In-place updating is supported.
>>> import brainpy.math as bm >>> a = bm.asarray([1, 2, 3.]) >>> a[0] = 10.
Keep sharding constraints during computation.
More dense array operations with PyTorch syntax.