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
7bfa87ea
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "48473684cc3e3d080fca85b089375700788f2d7a"
Commit
7bfa87ea
authored
Apr 02, 2018
by
Akshay Agrawal
Browse files
minor fix
parent
554bb86f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
samples/outreach/demos/eager_execution.ipynb
samples/outreach/demos/eager_execution.ipynb
+1
-1
No files found.
samples/outreach/demos/eager_execution.ipynb
View file @
7bfa87ea
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
},
},
"cell_type": "code",
"cell_type": "code",
"source": [
"source": [
"if tf.test.is_gpu_available()
> 0
:\n",
"if tf.test.is_gpu_available():\n",
" with tf.device(tf.test.gpu_device_name()):\n",
" with tf.device(tf.test.gpu_device_name()):\n",
" B = tf.constant([[2.0, 0.0], [0.0, 3.0]])\n",
" B = tf.constant([[2.0, 0.0], [0.0, 3.0]])\n",
" print(tf.matmul(B, B))"
" print(tf.matmul(B, B))"
...
...
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