Skip to content

Commit

Permalink
Fixed weights' scale name in docs (#717)
Browse files Browse the repository at this point in the history
* corrected weights' scale name

* corrected weights' scale name
  • Loading branch information
stephenra authored and dustinvtran committed Jul 19, 2017
1 parent d44797f commit b2fb897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tex/tutorials/tensorboard.tex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ \subsubsection{Model}
with tf.name_scope("model"):
X = tf.placeholder(tf.float32, [N, D], name="X")
w = Normal(loc=tf.zeros(D, name="weights/loc"),
scale=tf.ones(D, name="weights/loc"),
scale=tf.ones(D, name="weights/scale"),
name="weights")
b = Normal(loc=tf.zeros(1, name="bias/loc"),
scale=tf.ones(1, name="bias/scale"),
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tensorboard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"with tf.name_scope('model'):\n",
" X = tf.placeholder(tf.float32, [N, D], name=\"X\")\n",
" w = Normal(loc=tf.zeros(D, name=\"weights/loc\"),\n",
" scale=tf.ones(D, name=\"weights/loc\"),\n",
" scale=tf.ones(D, name=\"weights/scale\"),\n",
" name=\"weights\")\n",
" b = Normal(loc=tf.zeros(1, name=\"bias/loc\"),\n",
" scale=tf.ones(1, name=\"bias/scale\"),\n",
Expand Down

0 comments on commit b2fb897

Please sign in to comment.