File tree Expand file tree Collapse file tree 5 files changed +29
-6
lines changed
Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 146146
147147optimizers = optim
148148
149- try :
150- import brainpy . state as state
151- except :
152- pass
149+
150+ # New package
151+ from brainpy import state
152+
Original file line number Diff line number Diff line change 1+ # `` brainpy.state `` README
2+
3+ This module is being maintained by [ brainpy_state] ( https://github.com/chaobrain/brainpy.state ) .
Original file line number Diff line number Diff line change 1+ # Copyright 2025 BrainX 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+ # ==============================================================================
15+
16+ from brainpy_state import *
17+ from brainpy_state import __all__
18+
19+
20+
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ dependencies = [
4343 " brainunit" ,
4444 " brainevent>=0.0.4" ,
4545 " braintools>=0.0.9" ,
46- ' brainpy-state ' ,
46+ ' brainpy_state>=0.0.2 ' ,
4747]
4848
4949dynamic = [' version' ]
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ brainunit
33brainevent >= 0.0.4
44braintools >= 0.1.0
55brainstate >= 0.2.7
6- brainpy-state
6+ brainpy_state >= 0.0.2
77jax
88tqdm
You can’t perform that action at this time.
0 commit comments