Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
166ca5d0
Commit
166ca5d0
authored
Jul 19, 2018
by
Mark Daoust
Browse files
Fix keras example
parent
d50165de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
samples/core/guide/autograph.ipynb
samples/core/guide/autograph.ipynb
+1
-1
No files found.
samples/core/guide/autograph.ipynb
View file @
166ca5d0
...
@@ -679,7 +679,7 @@
...
@@ -679,7 +679,7 @@
"def collatz(x):\n",
"def collatz(x):\n",
" x=tf.reshape(x,())\n",
" x=tf.reshape(x,())\n",
" assert x>0\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",
" while not tf.equal(x,1):\n",
" n+=1\n",
" n+=1\n",
" if tf.equal(x%2, 0):\n",
" if tf.equal(x%2, 0):\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment