fixed a syntax error in a tutorial (merge error??)
This commit is contained in:
Родитель
7cfb0f85fb
Коммит
2dcfab9c97
|
@ -107,7 +107,7 @@
|
|||
" # (allow_duplicates == True) or without replacement.\n",
|
||||
" ):\n",
|
||||
" # define the parameters leanabe parameters\n",
|
||||
" b = C.Parameter(shape = (num_classes, 1), init = C.0)\n",
|
||||
" b = C.Parameter(shape = (num_classes, 1), init = 0)\n",
|
||||
" W = C.Parameter(shape = (num_classes, hidden_dim), init = C.initializer.glorot_uniform())\n",
|
||||
"\n",
|
||||
" # Define the node that generates a set of random samples per minibatch\n",
|
||||
|
@ -169,7 +169,7 @@
|
|||
" hidden_dim # Dimension of the hidden vector\n",
|
||||
" ):\n",
|
||||
" # Setup bias and weights\n",
|
||||
" b = C.Parameter(shape = (num_classes, 1), init = C.0)\n",
|
||||
" b = C.Parameter(shape = (num_classes, 1), init = 0)\n",
|
||||
" W = C.Parameter(shape = (num_classes, hidden_dim), init = C.initializer.glorot_uniform())\n",
|
||||
"\n",
|
||||
" \n",
|
||||
|
|
Загрузка…
Ссылка в новой задаче