Answers for "check if gpu is being used colab"

2

check gpu in colab

!nvidia-smi -L
Posted by: Guest on June-28-2021
0

code to check gpu in google colab

import tensorflow as tf
tf.test.gpu_device_name()
Posted by: Guest on July-03-2021

Code answers related to "check if gpu is being used colab"

Browse Popular Code Answers by Language