Skip to content

Commit

Permalink
Update __init__.py (#83)
Browse files Browse the repository at this point in the history
* Update __init__.py

typo fixed

* Update staticPatchedSynapse.py

a typo fixed

* Update hebbianPatchedSynapse.py

typo foxed
  • Loading branch information
Faezehabibi authored Dec 6, 2024
1 parent 23473ab commit 2295ba5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
7 changes: 6 additions & 1 deletion ngclearn/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@
## point to patched component types
from .synapses.patched.patchedSynapse import PatchedSynapse
from .synapses.patched.staticPatchedSynapse import StaticPatchedSynapse
from .synapses.patched.hebbianPatc
from .synapses.patched.hebbianPatchedSynapse import HebbianPatchedSynapse






Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _reset(batch_size, shape):



@resolver(_reset)
@resolver(_reset)
def reset(self, inputs, outputs, pre, post, dWeights, dBiases):
self.inputs.set(inputs)
self.outputs.set(outputs)
Expand Down
9 changes: 2 additions & 7 deletions ngclearn/components/synapses/patched/staticPatchedSynapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class StaticPatchedSynapse(PatchedSynapse):
"""
"""
A static dense synaptic cable; no form of synaptic evolution/adaptation
is in-built to this component.
Expand Down Expand Up @@ -40,7 +40,7 @@ class StaticPatchedSynapse(PatchedSynapse):
p_conn: probability of a connection existing (default: 1.); setting
this to < 1 and > 0. will result in a sparser synaptic structure
(lower values yield sparse structure)
"""
"""
pass


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








0 comments on commit 2295ba5

Please sign in to comment.