Skip to content

jeffparedesdev/test_pytorch_tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

test_pytorch_tensorflow

Test GPU avaible:

Pytorch

import torch as T 

if T.cuda.is_available():
    print("GPU habilitada")
else:
    print("No GPU")

Tensorflow

import tensorflow as tf 

if tf.test.is_gpu_available():
    print("GPU habilitada")
else:
    print("No GPU")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors