Skip to content

Commit

Permalink
add whitespace around equal sign in function parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 20, 2017
1 parent d69fbe5 commit 55ce73c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions code/ch14/ch14.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@
" tf.random_normal(\n",
" shape=(1, 1), \n",
" stddev=0.25),\n",
" name = 'weight')\n",
" name='weight')\n",
" bias = tf.Variable(0.0, name='bias')\n",
" \n",
" ## build the model\n",
Expand Down Expand Up @@ -1728,7 +1728,7 @@
},
{
"cell_type": "code",
"execution_count": 44,
"execution_count": 1,
"metadata": {},
"outputs": [
{
Expand All @@ -1743,15 +1743,6 @@
"source": [
"! python ../.convert_notebook_to_script.py --input ch14.ipynb --output ch14.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion code/ch14/ch14.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def build_generator(data, n_hidden):
tf.random_normal(
shape=(1, 1),
stddev=0.25),
name = 'weight')
name='weight')
bias = tf.Variable(0.0, name='bias')

## build the model
Expand Down

0 comments on commit 55ce73c

Please sign in to comment.