Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
!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
You can’t perform that action at this time.