gpus = tf.config.experimental.list_physical_devices('GPU')
for gpu in gpus:
tf.config.experimental.set_memory_growth(gpu, True)
For further actions, you may consider blocking this person and/or reporting abuse
gpus = tf.config.experimental.list_physical_devices('GPU')
for gpu in gpus:
tf.config.experimental.set_memory_growth(gpu, True)
For further actions, you may consider blocking this person and/or reporting abuse
Pedro Henrique Machado -
Rachelle Wilber -
amy -
Raziel Rodrigues -
Top comments (0)