Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tensorflow print gpu devices

import tensorflow as tf
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
Source by www.tensorflow.org #
 
PREVIOUS NEXT
Tagged: #tensorflow #print #gpu #devices
ADD COMMENT
Topic
Name
2+6 =