Skip to content

Commit

Permalink
slightly fixed evstdp to pre-win of 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ago109 committed Jul 4, 2024
1 parent 103f3bc commit 1ebd0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exhibits/evstdp_patches/snn.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, dkey, in_dim, hid_dim=100, T=200, dt=1., exp_dir="exp",
self.z0 = BernoulliCell("z0", n_units=in_dim, key=subkeys[0])
self.k0 = ExpKernel("k0", n_units=in_dim, tau_w=0.5, nu=4., dt=dt, key=subkeys[1])
self.W1 = EventSTDPSynapse("W1", shape=(in_dim, hid_dim), eta=eta_w,
lmbda=0.01, w_bound=1.,
lmbda=0.01, w_bound=1., presyn_win_len=3.,
weight_init=dist.uniform(0.025, 0.8), resist_scale=1.,
key=subkeys[2])
self.z1 = WTASCell("z1", n_units=hid_dim, tau_m=tau_m, resist_m=1.,
Expand Down

0 comments on commit 1ebd0ea

Please sign in to comment.