Skip to content

Commit

Permalink
mod to mstdpet syn
Browse files Browse the repository at this point in the history
  • Loading branch information
ago109 committed Jul 16, 2024
1 parent f0b8a42 commit ec0e409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngclearn/components/synapses/modulated/MSTDPETSynapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, name, shape, A_plus, A_minus, eta=1., mu=0.,
self.elg_decay = elg_decay
## MSTDP/MSTDP-ET compartments
self.modulator = Compartment(jnp.zeros((self.batch_size, 1)))
self.output_mask = Compartment(jnp.ones((self.batch_size, self.weights.shape[1])))
self.output_mask = Compartment(jnp.ones((self.batch_size, self.weights.value.shape[1])))
self.eligibility = Compartment(jnp.zeros(shape))

@staticmethod
Expand Down

0 comments on commit ec0e409

Please sign in to comment.