updated 204 tutorial to new signature of LSTM()
This commit is contained in:
Родитель
a7553ba022
Коммит
42256b68ce
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче