Skip to content

Commit 98117c3

Browse files
authored
[dnn] add various linear layers (#407)
[dnn] add various linear layers
2 parents 59ad18c + 82ad34a commit 98117c3

File tree

12 files changed

+1022
-454
lines changed

12 files changed

+1022
-454
lines changed

brainpy/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
dyn, # dynamics module
6565
# delay, # delay module
6666
)
67-
from brainpy._src.delay import (DataDelay, TargetDelay)
6867

6968
from brainpy.synapses import (
7069
synouts, # synaptic output

brainpy/_src/connect/random_conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ class PowerLaw(TwoEndConnector):
863863
Phys. Rev. E, 65, 026107, 2002.
864864
"""
865865

866-
def __init__(self, m, p, directed=False, seed=None, **kwargs):
866+
def __init__(self, m: int, p: float, directed=False, seed=None, **kwargs):
867867
super(PowerLaw, self).__init__(**kwargs)
868868
self.m = m
869869
self.p = p

0 commit comments

Comments
 (0)