Skip to content

Commit

Permalink
fix bug in sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorTeeth committed Oct 5, 2015
1 parent 91b754a commit 5db7255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def associative_recall(seq_len, vec_size, item_size):
inputs[b+2 + item_size] = fetch_bit
# choose a random item to be the prompt

outputs[b+2+item_size+1:inputs.shape[0]] = items[idx+1]
outputs[-items[idx+1].shape[0]:inputs.shape[0]] = items[idx+1]

return inputs, outputs, seq_len

Expand Down

0 comments on commit 5db7255

Please sign in to comment.