Skip to content

Commit 6bc5cd8

Browse files
author
Alexander Ororbia
committed
fixed a blocking jit-partial call in lif update_theta method; when loading
1 parent 03940e9 commit 6bc5cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ngclearn/components/neurons/spiking/LIFCell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _run_cell(dt, j, v, v_thr, v_theta, rfr, skey, tau_m, v_rest, v_reset,
7272
############################################################################
7373
return _v, s, raw_s, _rfr
7474

75-
@partial(jit, static_argnums=[3, 4])
75+
#@partial(jit, static_argnums=[3, 4])
7676
def _update_theta(dt, v_theta, s, tau_theta, theta_plus=0.05):
7777
### Runs homeostatic threshold update dynamics one step (via Euler integration).
7878
#theta_decay = 0.9999999 #0.999999762 #jnp.exp(-dt/1e7)

0 commit comments

Comments
 (0)