Skip to content

Commit 1a44403

Browse files
committed
[dnn] add various linear layers
1 parent 84511d4 commit 1a44403

File tree

4 files changed

+797
-77
lines changed

4 files changed

+797
-77
lines changed

brainpy/_src/connect/random_conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ class PowerLaw(TwoEndConnector):
826826
Phys. Rev. E, 65, 026107, 2002.
827827
"""
828828

829-
def __init__(self, m, p, directed=False, seed=None, **kwargs):
829+
def __init__(self, m: int, p: float, directed=False, seed=None, **kwargs):
830830
super(PowerLaw, self).__init__(**kwargs)
831831
self.m = m
832832
self.p = p

0 commit comments

Comments
 (0)