brainstate 0.1.0.post20241210__py2.py3-none-any.whl → 0.1.0.post20241220__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- brainstate/compile/_jit.py +20 -14
- brainstate/compile/_loop_collect_return.py +14 -6
- brainstate/compile/_progress_bar.py +5 -3
- brainstate/event/__init__.py +8 -6
- brainstate/event/_csr.py +906 -0
- brainstate/event/_csr_mv.py +12 -25
- brainstate/event/_csr_mv_test.py +76 -76
- brainstate/event/_csr_test.py +90 -0
- brainstate/event/_fixedprob_mv.py +52 -32
- brainstate/event/_linear_mv.py +2 -2
- brainstate/event/_xla_custom_op.py +8 -11
- brainstate/graph/_graph_node.py +10 -1
- brainstate/graph/_graph_operation.py +8 -6
- brainstate/nn/_dyn_impl/_inputs.py +127 -2
- brainstate/nn/_dynamics/_dynamics_base.py +12 -0
- brainstate/nn/_dynamics/_projection_base.py +25 -7
- brainstate/nn/_elementwise/_dropout_test.py +11 -11
- brainstate/nn/_interaction/_linear.py +21 -248
- brainstate/nn/_interaction/_linear_test.py +73 -6
- brainstate/random/_rand_funs.py +7 -3
- brainstate/typing.py +3 -0
- {brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/METADATA +3 -2
- {brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/RECORD +26 -25
- brainstate/event/_csr_benchmark.py +0 -14
- {brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/LICENSE +0 -0
- {brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/WHEEL +0 -0
- {brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/top_level.txt +0 -0
@@ -16,17 +16,14 @@
|
|
16
16
|
|
17
17
|
from __future__ import annotations
|
18
18
|
|
19
|
-
import
|
20
|
-
|
21
|
-
|
19
|
+
import unittest
|
20
|
+
|
21
|
+
import brainunit as u
|
22
22
|
from absl.testing import parameterized
|
23
23
|
|
24
24
|
import brainstate as bst
|
25
25
|
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
27
|
class TestDense(parameterized.TestCase):
|
31
28
|
@parameterized.product(
|
32
29
|
size=[(10,),
|
@@ -40,3 +37,73 @@ class TestDense(parameterized.TestCase):
|
|
40
37
|
y = f(x)
|
41
38
|
self.assertTrue(y.shape == size[:-1] + (num_out,))
|
42
39
|
|
40
|
+
|
41
|
+
class TestSparseMatrix(unittest.TestCase):
|
42
|
+
def test_csr(self):
|
43
|
+
data = bst.random.rand(10, 20)
|
44
|
+
data = data * (data > 0.9)
|
45
|
+
f = bst.nn.SparseLinear(u.sparse.CSR.fromdense(data))
|
46
|
+
|
47
|
+
x = bst.random.rand(10)
|
48
|
+
y = f(x)
|
49
|
+
self.assertTrue(
|
50
|
+
u.math.allclose(
|
51
|
+
y,
|
52
|
+
x @ data
|
53
|
+
)
|
54
|
+
)
|
55
|
+
|
56
|
+
x = bst.random.rand(5, 10)
|
57
|
+
y = f(x)
|
58
|
+
self.assertTrue(
|
59
|
+
u.math.allclose(
|
60
|
+
y,
|
61
|
+
x @ data
|
62
|
+
)
|
63
|
+
)
|
64
|
+
|
65
|
+
def test_csc(self):
|
66
|
+
data = bst.random.rand(10, 20)
|
67
|
+
data = data * (data > 0.9)
|
68
|
+
f = bst.nn.SparseLinear(u.sparse.CSC.fromdense(data))
|
69
|
+
|
70
|
+
x = bst.random.rand(10)
|
71
|
+
y = f(x)
|
72
|
+
self.assertTrue(
|
73
|
+
u.math.allclose(
|
74
|
+
y,
|
75
|
+
x @ data
|
76
|
+
)
|
77
|
+
)
|
78
|
+
|
79
|
+
x = bst.random.rand(5, 10)
|
80
|
+
y = f(x)
|
81
|
+
self.assertTrue(
|
82
|
+
u.math.allclose(
|
83
|
+
y,
|
84
|
+
x @ data
|
85
|
+
)
|
86
|
+
)
|
87
|
+
|
88
|
+
def test_coo(self):
|
89
|
+
data = bst.random.rand(10, 20)
|
90
|
+
data = data * (data > 0.9)
|
91
|
+
f = bst.nn.SparseLinear(u.sparse.COO.fromdense(data))
|
92
|
+
|
93
|
+
x = bst.random.rand(10)
|
94
|
+
y = f(x)
|
95
|
+
self.assertTrue(
|
96
|
+
u.math.allclose(
|
97
|
+
y,
|
98
|
+
x @ data
|
99
|
+
)
|
100
|
+
)
|
101
|
+
|
102
|
+
x = bst.random.rand(5, 10)
|
103
|
+
y = f(x)
|
104
|
+
self.assertTrue(
|
105
|
+
u.math.allclose(
|
106
|
+
y,
|
107
|
+
x @ data
|
108
|
+
)
|
109
|
+
)
|
brainstate/random/_rand_funs.py
CHANGED
@@ -959,9 +959,13 @@ def logistic(loc=None, scale=None, size: Optional[Size] = None,
|
|
959
959
|
return DEFAULT.logistic(loc, scale, size, key=key, dtype=dtype)
|
960
960
|
|
961
961
|
|
962
|
-
def normal(
|
963
|
-
|
964
|
-
|
962
|
+
def normal(
|
963
|
+
loc=None,
|
964
|
+
scale=None,
|
965
|
+
size: Optional[Size] = None,
|
966
|
+
key: Optional[SeedOrKey] = None,
|
967
|
+
dtype: DTypeLike = None
|
968
|
+
):
|
965
969
|
r"""
|
966
970
|
Draw random samples from a normal (Gaussian) distribution.
|
967
971
|
|
brainstate/typing.py
CHANGED
@@ -32,6 +32,7 @@ __all__ = [
|
|
32
32
|
'Filter',
|
33
33
|
'PyTree',
|
34
34
|
'Size',
|
35
|
+
'Shape',
|
35
36
|
'Axes',
|
36
37
|
'SeedOrKey',
|
37
38
|
'ArrayLike',
|
@@ -257,6 +258,8 @@ f. A structure can end with a `...`, to denote that the PyTree must be a prefix
|
|
257
258
|
Size = tp.Union[int, tp.Sequence[int]]
|
258
259
|
Axes = tp.Union[int, tp.Sequence[int]]
|
259
260
|
SeedOrKey = tp.Union[int, jax.Array, np.ndarray]
|
261
|
+
Shape = tp.Sequence[int]
|
262
|
+
|
260
263
|
|
261
264
|
# --- Array --- #
|
262
265
|
|
{brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: brainstate
|
3
|
-
Version: 0.1.0.
|
3
|
+
Version: 0.1.0.post20241220
|
4
4
|
Summary: A ``State``-based Transformation System for Program Compilation and Augmentation.
|
5
5
|
Home-page: https://github.com/chaobrain/brainstate
|
6
6
|
Author: BrainState Developers
|
@@ -31,7 +31,7 @@ License-File: LICENSE
|
|
31
31
|
Requires-Dist: jax
|
32
32
|
Requires-Dist: jaxlib
|
33
33
|
Requires-Dist: numpy
|
34
|
-
Requires-Dist: brainunit (>=0.0.
|
34
|
+
Requires-Dist: brainunit (>=0.0.4)
|
35
35
|
Provides-Extra: cpu
|
36
36
|
Requires-Dist: jaxlib ; extra == 'cpu'
|
37
37
|
Provides-Extra: cuda12
|
@@ -60,6 +60,7 @@ Requires-Dist: jaxlib[tpu] ; extra == 'tpu'
|
|
60
60
|
</a>
|
61
61
|
<a href="https://badge.fury.io/py/brainstate"><img alt="PyPI version" src="https://badge.fury.io/py/brainstate.svg"></a>
|
62
62
|
<a href="https://github.com/chaobrain/brainstate/actions/workflows/CI.yml"><img alt="Continuous Integration" src="https://github.com/chaobrain/brainstate/actions/workflows/CI.yml/badge.svg"></a>
|
63
|
+
<a href="https://pepy.tech/projects/brainstate"><img src="https://static.pepy.tech/badge/brainstate" alt="PyPI Downloads"></a>
|
63
64
|
</p>
|
64
65
|
|
65
66
|
|
@@ -8,7 +8,7 @@ brainstate/mixin.py,sha256=g7uVUwZphZWsNs9pb48ozG2cDGaj0hs0g3lq8tDk-Sg,11310
|
|
8
8
|
brainstate/mixin_test.py,sha256=Oq_0fwC9vpXDN4t4dTBhWzLdFDNlcYsrcip14F1yECI,3079
|
9
9
|
brainstate/surrogate.py,sha256=YaY6RJ6kzpuPXWFjaWsxWt2MzJfdm5v_jeOR8V_jPoU,48369
|
10
10
|
brainstate/transform.py,sha256=uryXL2vAD-oApUNvL4n6uzLPRwXXARCJ6lRwco_Gh_Y,772
|
11
|
-
brainstate/typing.py,sha256=
|
11
|
+
brainstate/typing.py,sha256=Qh-LBzm6oG4rSXv4V5qB8SNYcoOR7bASoK_iQxnlafk,10467
|
12
12
|
brainstate/augment/__init__.py,sha256=BtXIBel7GbttmfBX6grxOxl0IiOJxLEa7qCGAXumamE,1286
|
13
13
|
brainstate/augment/_autograd.py,sha256=o9ivoEY7BmtdM1XmzdMmeRXpj6Tvn5xNB8LSGp2HKC8,25238
|
14
14
|
brainstate/augment/_autograd_test.py,sha256=S2eEgrwTzdSi3u2nKE3u37WSThosLwx1WCP9ptJAGKo,44060
|
@@ -24,30 +24,31 @@ brainstate/compile/_conditions.py,sha256=gApsHKGQrf1QBjoKXDVL7VsoeJ2zFtSc-hFz9nb
|
|
24
24
|
brainstate/compile/_conditions_test.py,sha256=s9LF6h9LvigvgxUIugTqvgCHBIU8TXS1Ar1OlIxXfrw,8389
|
25
25
|
brainstate/compile/_error_if.py,sha256=TFvhqITKkRO9m30GdlUP4eEjJvLWQUhjkujXO9zvrWs,2689
|
26
26
|
brainstate/compile/_error_if_test.py,sha256=SJmAfosVoGd4vhfFtb1IvjeFVW914bfTccCg6DoLWYk,1992
|
27
|
-
brainstate/compile/_jit.py,sha256=
|
27
|
+
brainstate/compile/_jit.py,sha256=3WBXNTALWPYC9rQH0TPH6w4bjG0BpnZt3RAzUQF5kkc,14045
|
28
28
|
brainstate/compile/_jit_test.py,sha256=zD7kck9SQJGmUDolh9P4luKwQ21fBGje1Z4STTEXIuA,4135
|
29
|
-
brainstate/compile/_loop_collect_return.py,sha256=
|
29
|
+
brainstate/compile/_loop_collect_return.py,sha256=_iOVPytbctgyaIOxQZH3A2ZbsSoT7VXnFk6Q6R8-gvA,23360
|
30
30
|
brainstate/compile/_loop_collect_return_test.py,sha256=bA-_11E8A_0jR5umEO3e409y7bb5QYDTgSL-SBaX7kQ,1802
|
31
31
|
brainstate/compile/_loop_no_collection.py,sha256=0i31gdQ7sI-d6pvnh08ttUUwdAtpx4uoYhGuf_CyL9s,7343
|
32
32
|
brainstate/compile/_loop_no_collection_test.py,sha256=oStB1CSG_iLp9sHdXd1hJNFvlxbzjck9Iy4sABoJDj4,1419
|
33
33
|
brainstate/compile/_make_jaxpr.py,sha256=S5O9KUB3bsxoKcfptlV0MRfKA__Ija37WxkakIRL3z0,33010
|
34
34
|
brainstate/compile/_make_jaxpr_test.py,sha256=qJUtkyj50JQ6f4UJbOLhvRdkbNn3NSKibFL9jESdQkA,4279
|
35
|
-
brainstate/compile/_progress_bar.py,sha256=
|
35
|
+
brainstate/compile/_progress_bar.py,sha256=eInZPjiqzYE6PWxl_or_lBthDNDO0Ov60Uz0DbuBbZQ,4620
|
36
36
|
brainstate/compile/_unvmap.py,sha256=ewbLLNXiI_dBsEBaVzSS0BEXNol22sd9gMzk606lSkM,4139
|
37
37
|
brainstate/compile/_util.py,sha256=aCvkTV--g4NsqcodTdBAISt4EwgezCbKzNUV58n-Q_Y,6304
|
38
|
-
brainstate/event/__init__.py,sha256=
|
39
|
-
brainstate/event/
|
40
|
-
brainstate/event/_csr_mv.py,sha256=
|
38
|
+
brainstate/event/__init__.py,sha256=W0ZxbgrcFuYhWTl-GZ0UDoMGfsWmesvG4J_LbTBkex8,937
|
39
|
+
brainstate/event/_csr.py,sha256=QDccbgXUklE2iq1w6WdyaFspXY1165uA9UlPltX16OU,30365
|
40
|
+
brainstate/event/_csr_mv.py,sha256=HStHvK3KyEMfLsIUslZjgbdU6OsD1yKGrzQOzBXG36M,10266
|
41
41
|
brainstate/event/_csr_mv_benchmark.py,sha256=xrj2DSWzw0pUHAE1jRBeSRhMW7ogXvDHEdeaZGioNE4,702
|
42
|
-
brainstate/event/_csr_mv_test.py,sha256=
|
43
|
-
brainstate/event/
|
42
|
+
brainstate/event/_csr_mv_test.py,sha256=WQfAvp_3UeCUGAZjr3_aqQvrB-eYZcFEN4v1PBe9fUQ,4012
|
43
|
+
brainstate/event/_csr_test.py,sha256=v59rnwTy8jrvqjdGzN75kvLg0wLBmRbthaVRKY2f0Uw,2945
|
44
|
+
brainstate/event/_fixedprob_mv.py,sha256=HP5uyFwue5ZNhsU71ZedMQ-Kp5-st89aLKGNhCBmBRA,25457
|
44
45
|
brainstate/event/_fixedprob_mv_benchmark.py,sha256=_F_8fH5MNMJZHeSqnq9DYMI9OgYr6JIxBKjbsgeWRv4,4720
|
45
46
|
brainstate/event/_fixedprob_mv_test.py,sha256=jijrtJ5fnwcLmA7Tjd3vDlzwfbftmLoVTN4-MPuogVc,4201
|
46
|
-
brainstate/event/_linear_mv.py,sha256=
|
47
|
+
brainstate/event/_linear_mv.py,sha256=O5qbY31GNV1qEDrZ5kvPbA8Ae-bY5JpUgGtqDFNAeV0,11794
|
47
48
|
brainstate/event/_linear_mv_benckmark.py,sha256=hu0WqYMIa3jMoH7Fq9dgxcBjjXGFhghPx9vztyCo1KY,2411
|
48
49
|
brainstate/event/_linear_mv_test.py,sha256=V9w41ZP2vu95CyCdCkm-j9Eftqs2kqmeBY809N1-syY,3736
|
49
50
|
brainstate/event/_misc.py,sha256=8IpPooXjF2m0-tuo3pGHqThq2yLSNmYziy_zdurZ3NI,1040
|
50
|
-
brainstate/event/_xla_custom_op.py,sha256=
|
51
|
+
brainstate/event/_xla_custom_op.py,sha256=sR06amc_3mbQDq_ONdxHwr_O8ZKj7S5SNNgo62ILR3U,10797
|
51
52
|
brainstate/event/_xla_custom_op_test.py,sha256=rnkGMleXzLfJj4y5QqwfBvCCLTAHe_uabwBDniY-URM,1745
|
52
53
|
brainstate/functional/__init__.py,sha256=j6-3Er4fgqWpvntzYCZVB3e5hoz-Z3aqvapITCuDri0,1107
|
53
54
|
brainstate/functional/_activations.py,sha256=S0Ok7sq5FTbmJWSejpOCHo1jpKX0gYOLy_TO2IUXM8s,21726
|
@@ -59,9 +60,9 @@ brainstate/graph/__init__.py,sha256=ZUD-gY9txkr0yQ7VRqRSptzGMX3J_ZZ_VsJkxp8EfpY,
|
|
59
60
|
brainstate/graph/_graph_context.py,sha256=J3WmCPrNyYiv-i75QSWQQdg0qZ6jmRy3gIzz3SuDBLI,15429
|
60
61
|
brainstate/graph/_graph_context_test.py,sha256=IYpjqbXwSFF65XL0ZbdPeC1jYyEHLpQVrhuFeJXH4GM,2409
|
61
62
|
brainstate/graph/_graph_convert.py,sha256=llSREtGQrIggkD0wmxUbYKuSveLW4ihDZME6Ab-mRTQ,9147
|
62
|
-
brainstate/graph/_graph_node.py,sha256=
|
63
|
+
brainstate/graph/_graph_node.py,sha256=mmZ0jhZev8ReNJhVLgWqYJEedEDtJHxhwxRv4ytQVNo,9268
|
63
64
|
brainstate/graph/_graph_node_test.py,sha256=BFGfdzZFDHI0XK7hHotSVWKt3em1taGvn8FHF9NCXx8,2702
|
64
|
-
brainstate/graph/_graph_operation.py,sha256=
|
65
|
+
brainstate/graph/_graph_operation.py,sha256=xM-pvYMLHb8e2lAmDVgTTThAf5gd4hHymfrqOJwpHeo,64132
|
65
66
|
brainstate/graph/_graph_operation_test.py,sha256=ADyyuMk2xidEkkFNpGvUbvEtRmUj-tqOI4cF3eRuakM,24678
|
66
67
|
brainstate/init/__init__.py,sha256=R1dHgub47o-WJM9QkFLc7x_Q7GsyaKKDtrRHTFPpC5g,1097
|
67
68
|
brainstate/init/_base.py,sha256=B_NLS9aKNrvuj5NAlSgBbQTVev7IRvzcx8vH0J-Gq2w,1671
|
@@ -82,30 +83,30 @@ brainstate/nn/_dyn_impl/_dynamics_neuron.py,sha256=cTbIn41EPYG0h3ICzKBXxpgB6wwA2
|
|
82
83
|
brainstate/nn/_dyn_impl/_dynamics_neuron_test.py,sha256=Tfzrzu7udGrLJGnqItiLWe5WT0dgduvYOgzGCnaPJQg,6317
|
83
84
|
brainstate/nn/_dyn_impl/_dynamics_synapse.py,sha256=IHy6IsGjWpKZ8NLq4X7PaRwx3tpO2HRZNppCWM2fe4I,11862
|
84
85
|
brainstate/nn/_dyn_impl/_dynamics_synapse_test.py,sha256=t5i-HV0ii9sUNzWTEv04o26QVtQ-mCdMJcFq2MD755A,4981
|
85
|
-
brainstate/nn/_dyn_impl/_inputs.py,sha256=
|
86
|
+
brainstate/nn/_dyn_impl/_inputs.py,sha256=pkcAVt_o5kQF_BGCTZZ-NUQpHgjlFHHPwtYC0fJkAA0,9099
|
86
87
|
brainstate/nn/_dyn_impl/_projection_alignpost.py,sha256=PNC1Tzx_SF2DHAHeJCufXzO_Q4qLoBpWABI45B3GRuc,876
|
87
88
|
brainstate/nn/_dyn_impl/_rate_rnns.py,sha256=dz_yT_6hJVhKulcjIARbGtmMzZqISws96CtBc6o5GOo,14768
|
88
89
|
brainstate/nn/_dyn_impl/_rate_rnns_test.py,sha256=gNgtr-a4ZiU1XF9wFG1HiJ9fLosfWchVR9Zn1x39xt4,2452
|
89
90
|
brainstate/nn/_dyn_impl/_readout.py,sha256=iYk2lKkB42OClLUlXQVr8SIqL4NzwZzVE3rlEAExGvw,4370
|
90
91
|
brainstate/nn/_dyn_impl/_readout_test.py,sha256=R9JJPRvy3mAHSv8n1Hzjk2kBSDjBzJNbS83ystll86s,2109
|
91
92
|
brainstate/nn/_dynamics/__init__.py,sha256=j1HSWu01wf5-KjSaNhBC9utVGDALOhUsFPrLPcPPDsM,1208
|
92
|
-
brainstate/nn/_dynamics/_dynamics_base.py,sha256=
|
93
|
+
brainstate/nn/_dynamics/_dynamics_base.py,sha256=SOfrET1Z-JkS2GPo2bkQ-v40FLozIxT5A7ObwW_hQYo,21987
|
93
94
|
brainstate/nn/_dynamics/_dynamics_base_test.py,sha256=gXMwENqqSvyZbMpLP0QtYndJ_h39dF5gIeiiSbMAjTk,2721
|
94
|
-
brainstate/nn/_dynamics/_projection_base.py,sha256=
|
95
|
+
brainstate/nn/_dynamics/_projection_base.py,sha256=jYe3WdBMgz2TJkcxPWEkyK7OA4IR1ChISd2GTfM6U2o,13528
|
95
96
|
brainstate/nn/_dynamics/_state_delay.py,sha256=nZYGmVKmQvAQu-W4YOUFH1gnr-ZS3rg_GNkRhI8rQ-I,16761
|
96
97
|
brainstate/nn/_dynamics/_synouts.py,sha256=9TGAc-nVa50th7KKn4oKLbro-4W4rwxYvp-eu7ksAIE,4491
|
97
98
|
brainstate/nn/_dynamics/_synouts_test.py,sha256=V_jDswRN4VvEXD-2yJO3VA1TALgX0HK6oPBQiUntOWc,2266
|
98
99
|
brainstate/nn/_elementwise/__init__.py,sha256=PK8oq1K_EG2941AiUyLxCWoRdWvMO3yt8ZJbw3Lkhu8,935
|
99
100
|
brainstate/nn/_elementwise/_dropout.py,sha256=0Ebo-2y1VswvBqZ7sCA0SEUm37y49EUsef8oiSFpYGk,17759
|
100
|
-
brainstate/nn/_elementwise/_dropout_test.py,sha256=
|
101
|
+
brainstate/nn/_elementwise/_dropout_test.py,sha256=ZzNvjFf46NpKWGBIcT6O0lKOBGpxOStOAIGM4cE8LfE,4405
|
101
102
|
brainstate/nn/_elementwise/_elementwise.py,sha256=om-KpwDTk5yFG5KBYXXHquRLV7s28_FJjk-omvyMyvQ,33342
|
102
103
|
brainstate/nn/_elementwise/_elementwise_test.py,sha256=SZI9jB39sZ5SO1dpWGW-PhodthwN0GU9FY1nqf2fWcs,5341
|
103
104
|
brainstate/nn/_interaction/__init__.py,sha256=TTY_SeNrdx4VnUSw6vdyl02OHdS9Qs15cWBp6kjsyNQ,1289
|
104
105
|
brainstate/nn/_interaction/_conv.py,sha256=LgWO4TeKRru07UEUga3YX6xog6WHtOvKdKtgxGnHUvw,18512
|
105
106
|
brainstate/nn/_interaction/_conv_test.py,sha256=fHXRFYnDghFiKre63RqMwIE_gbPKdK34UPhKOz-J3qU,8695
|
106
107
|
brainstate/nn/_interaction/_embedding.py,sha256=iK0I1ExKWFa_QzV9UDGj32Ljsmdr1g_LlAtMcusebxU,2187
|
107
|
-
brainstate/nn/_interaction/_linear.py,sha256=
|
108
|
-
brainstate/nn/_interaction/_linear_test.py,sha256=
|
108
|
+
brainstate/nn/_interaction/_linear.py,sha256=0G3OOmbgBwB22JAb2AWr4btvBOrFHBi4xWYKkd0SpOk,12148
|
109
|
+
brainstate/nn/_interaction/_linear_test.py,sha256=QfCR8SBBed9OnSY-AmQ0kJqoggDA3Xem0dRJ0BusxLU,2872
|
109
110
|
brainstate/nn/_interaction/_normalizations.py,sha256=7YDzkmO_iqd70fH_wawb60Bu8eGOdvZq23emP-b68Hc,37440
|
110
111
|
brainstate/nn/_interaction/_normalizations_test.py,sha256=2p1Jf8nA999VYGWbvOZfKYlKk6UmL0vaEB76xkXxkXw,2438
|
111
112
|
brainstate/nn/_interaction/_poolings.py,sha256=LpwuyeNBVCaVFW7zWc7E-vvlYqx54h46Br5XT6zd_94,47020
|
@@ -118,7 +119,7 @@ brainstate/optim/_optax_optimizer.py,sha256=SuXV_xUBfhOw1_C2J5TIpy3dXDtI9VJFaSML
|
|
118
119
|
brainstate/optim/_optax_optimizer_test.py,sha256=DAomE8Eu3dn4gh1S3EZ_u4pW4rhcl16vWPbnDcN3Rs4,1762
|
119
120
|
brainstate/optim/_sgd_optimizer.py,sha256=NVKYhGcw2D1ksNWUIXZcj-74LUaan8XL3EERk-EHMRI,46008
|
120
121
|
brainstate/random/__init__.py,sha256=c5q-RC3grRIjx-HBb2IhKZpi_xzbFmUUxzRAzqfREic,1045
|
121
|
-
brainstate/random/_rand_funs.py,sha256=
|
122
|
+
brainstate/random/_rand_funs.py,sha256=y3K39RZLoMAPv3mllnZNLGYTI30EHg6fFzlxAWOzvt0,137597
|
122
123
|
brainstate/random/_rand_funs_test.py,sha256=abO5lSoPBgBcg6ecFE1qnCg98__QGa68GSYC5pQW5QI,19438
|
123
124
|
brainstate/random/_rand_seed.py,sha256=dfq-_vb-4YEEWL3Bkcm_VaVkxU2bkuOsIs3NlZy4BeE,5480
|
124
125
|
brainstate/random/_rand_seed_test.py,sha256=Qibcs-ZqCvj1LuucmQ8H00B_HBNhf2f6un0aUdNZNTw,1518
|
@@ -136,8 +137,8 @@ brainstate/util/_scaling.py,sha256=pc_eM_SZVwkY65I4tJh1ODiHNCoEhsfFXl2zBK0PLAg,7
|
|
136
137
|
brainstate/util/_struct.py,sha256=0exv0oOiSt1hmx20Y4J2-pCGtCTx13WcAlEYSBkyung,17640
|
137
138
|
brainstate/util/_tracers.py,sha256=0r5T4nhxMzI79NtqroqitsdMT4YfpgV5RdYJLS5uJ0w,2285
|
138
139
|
brainstate/util/_visualization.py,sha256=n4ZVz10z7VBqA0cKO6vyHwEMprWJgPeEqtITzDMai2Y,1519
|
139
|
-
brainstate-0.1.0.
|
140
|
-
brainstate-0.1.0.
|
141
|
-
brainstate-0.1.0.
|
142
|
-
brainstate-0.1.0.
|
143
|
-
brainstate-0.1.0.
|
140
|
+
brainstate-0.1.0.post20241220.dist-info/LICENSE,sha256=VZe9u1jgUL2eCY6ZPOYgdb8KCblCHt8ECdbtJid6e1s,11550
|
141
|
+
brainstate-0.1.0.post20241220.dist-info/METADATA,sha256=lfkUbD1vYx4bikkUolrL_pCp4zryfvGExXyWP_QH5tM,3533
|
142
|
+
brainstate-0.1.0.post20241220.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
|
143
|
+
brainstate-0.1.0.post20241220.dist-info/top_level.txt,sha256=eQbGgKn0ptx7FDWuua0V0wr4K1VHi2iOUCYo3fUQBRA,11
|
144
|
+
brainstate-0.1.0.post20241220.dist-info/RECORD,,
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Copyright 2024 BDP Ecosystem Limited. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
# ==============================================================================
|
File without changes
|
File without changes
|
{brainstate-0.1.0.post20241210.dist-info → brainstate-0.1.0.post20241220.dist-info}/top_level.txt
RENAMED
File without changes
|