Skip to content

Commit ce226f8

Browse files
committed
checkpoint
1 parent e6ba4b5 commit ce226f8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ntm/ntm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,11 @@ def bprop(params, manual_grad):
416416
print deltas[k]
417417
failed_keys.append(k)
418418
else:
419+
print "compare deltas PASSED for key:", k
420+
print "baseline"
421+
print auto_deltas[k]
422+
print "candidate"
423+
print deltas[k]
419424
passed_keys.append(k)
420425
if len(failed_keys) > 0:
421426
print "FAILED KEYS:"

run_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import pdb
1313

1414
# Comment next line to remove determinism
15-
np.random.seed(0)
15+
# np.random.seed(0)
1616

1717
# Uncomment below for debugging numerical issues
1818
# warnings.simplefilter("error")

0 commit comments

Comments
 (0)