pytorch
python
>>> import torch
>>> print(torch.__version__)
>>> print(torch.cuda.is_available())
tensorflow
python
>>> import tensorflow as tf
>>> print(tf.test.is_gpu_available())