updated 204 tutorial to new signature of LSTM()

This commit is contained in:
Frank Seide 2017-03-03 11:50:23 -08:00
Родитель a7553ba022
Коммит 42256b68ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -509,7 +509,7 @@
"\n",
" # we now create an LSTM_cell function and call it with the input and placeholders\n",
" LSTM_cell = LSTM(output_dim)\n",
" f_x_h_c = LSTM_cell(input, (dh, dc))\n",
" f_x_h_c = LSTM_cell(dh, dc, input)\n",
" h_c = f_x_h_c.outputs\n",
"\n",
" # we setup the recurrence by specifying the type of recurrence (by default it's `past_value` -- the previous value)\n",