Skip to content

Commit 604a48d

Browse files
authored
Fix RNN (#103)
1 parent 1e7bfdf commit 604a48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/view/rnn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var dispRNN = function (elm, platform) {
2727
const predCount = +elm.select('[name=pred_count]').property('value')
2828

2929
platform.fit((tx, ty, pred_cb) => {
30-
model.fit(tx, ty, iteration, rate, batch, e => {
30+
model.fit(tx, tx, iteration, rate, batch, e => {
3131
epoch = e.data.epoch
3232
model.predict(tx, predCount, e => {
3333
const pred = e.data

0 commit comments

Comments
 (0)