Answers for "check if gpu is available in 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

Browse Popular Code Answers by Language