Fied incorrect packing
This commit is contained in:
parent
3e1bef80d9
commit
f45c3c4fb9
@ -528,7 +528,7 @@
|
|||||||
" \n",
|
" \n",
|
||||||
" # Reshape outputs from a list of n_steps tensors each of shape [batch_size, 2*n_cell_dim]\n",
|
" # Reshape outputs from a list of n_steps tensors each of shape [batch_size, 2*n_cell_dim]\n",
|
||||||
" # to a single tensor of shape [n_steps*batch_size, 2*n_cell_dim]\n",
|
" # to a single tensor of shape [n_steps*batch_size, 2*n_cell_dim]\n",
|
||||||
" outputs = tf.pack(outputs[0])\n",
|
" outputs = tf.pack(outputs)\n",
|
||||||
" outputs = tf.reshape(outputs, [-1, 2*n_cell_dim])\n",
|
" outputs = tf.reshape(outputs, [-1, 2*n_cell_dim])\n",
|
||||||
" \n",
|
" \n",
|
||||||
" #Hidden layer with clipped RELU activation and dropout\n",
|
" #Hidden layer with clipped RELU activation and dropout\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user