Skip to content

Instantly share code, notes, and snippets.

@ThoenigAdrian
Created December 9, 2019 16:15
Show Gist options
  • Save ThoenigAdrian/e62970d6167074e7e6fc620ec4fc9847 to your computer and use it in GitHub Desktop.
Save ThoenigAdrian/e62970d6167074e7e6fc620ec4fc9847 to your computer and use it in GitHub Desktop.
Checks if gpu is supported after pip install tensorflow-gpu
import tensorflow
tensorflow.Session(config=tensorflow.ConfigProto(log_device_placement=True))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment