Created
June 19, 2020 00:49
-
-
Save xdhmoore/3b879edc723c32a9fa426a0097f6951c to your computer and use it in GitHub Desktop.
Minimal test of tensorflow image on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tensorflow/tensorflow:1.15.0 | |
COPY test-tf.py /tensorflow/test-tf.py | |
WORKDIR /tensorflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import tensorflow as tf | |
hello = tf.constant('Hello, TensorFlow!') | |
sess = tf.Session() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output is: