Skip to content

Instantly share code, notes, and snippets.

@frogermcs
Created June 4, 2019 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frogermcs/e435c3eaba325bae51e2aad8fcbbdcee to your computer and use it in GitHub Desktop.
Save frogermcs/e435c3eaba325bae51e2aad8fcbbdcee to your computer and use it in GitHub Desktop.
!pip install tfcoreml
import tensorflow as tf
import tfcoreml
# TensorFlow 2.0 isn't yet supported. Make sure you use 1.x
print("TensorFlow version {}".format(tf.__version__))
print("Eager mode: ", tf.executing_eagerly())
print("Is GPU available: ", tf.test.is_gpu_available())
# >> TensorFlow version 1.13.1
# >> Eager mode: False
# >> Is GPU available: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment