Skip to content

Commit

Permalink
Fix keras example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDaoust committed Jul 19, 2018
1 parent d50165d commit 166ca5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/core/guide/autograph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
"def collatz(x):\n",
" x=tf.reshape(x,())\n",
" assert x>0\n",
" n = tf.convert_to_tensor(0) \n",
" n = tf.convert_to_tensor((0,)) \n",
" while not tf.equal(x,1):\n",
" n+=1\n",
" if tf.equal(x%2, 0):\n",
Expand Down

0 comments on commit 166ca5d

Please sign in to comment.