Skip to content

Commit 2295ba5

Browse files
authored
Update __init__.py (#83)
* Update __init__.py typo fixed * Update staticPatchedSynapse.py a typo fixed * Update hebbianPatchedSynapse.py typo foxed
1 parent 23473ab commit 2295ba5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

ngclearn/components/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,10 @@
6161
## point to patched component types
6262
from .synapses.patched.patchedSynapse import PatchedSynapse
6363
from .synapses.patched.staticPatchedSynapse import StaticPatchedSynapse
64-
from .synapses.patched.hebbianPatc
64+
from .synapses.patched.hebbianPatchedSynapse import HebbianPatchedSynapse
65+
66+
67+
68+
69+
6570

ngclearn/components/synapses/patched/hebbianPatchedSynapse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def _reset(batch_size, shape):
250250

251251

252252

253-
@resolver(_reset)
253+
@resolver(_reset)
254254
def reset(self, inputs, outputs, pre, post, dWeights, dBiases):
255255
self.inputs.set(inputs)
256256
self.outputs.set(outputs)

ngclearn/components/synapses/patched/staticPatchedSynapse.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
class StaticPatchedSynapse(PatchedSynapse):
6-
"""
6+
"""
77
A static dense synaptic cable; no form of synaptic evolution/adaptation
88
is in-built to this component.
99
@@ -40,7 +40,7 @@ class StaticPatchedSynapse(PatchedSynapse):
4040
p_conn: probability of a connection existing (default: 1.); setting
4141
this to < 1 and > 0. will result in a sparser synaptic structure
4242
(lower values yield sparse structure)
43-
"""
43+
"""
4444
pass
4545

4646

@@ -51,8 +51,3 @@ class StaticPatchedSynapse(PatchedSynapse):
5151

5252

5353

54-
55-
56-
57-
58-

0 commit comments

Comments
 (0)