Skip to content

Commit a84a5d8

Browse files
author
Alexander Ororbia
committed
fixed test_laplacianErrorCell and laplace-cell bug
1 parent 54e0873 commit a84a5d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ngclearn/components/neurons/graded/laplacianErrorCell.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def advance_state(self, dt): ## compute Laplacian error cell output
9999
self.L.set(jnp.squeeze(L))
100100
self.mask.set(mask)
101101

102+
@compilable
102103
def reset(self): ## reset core components/statistics
103104
restVals = jnp.zeros((self.batch_size, self.n_units))
104105
dshift = restVals

0 commit comments

Comments
 (0)