Suppose we run the following code on a GPU-enabled computer.
import tensorflow as tf
print ("results")
id= tf.eye(2,2)
x= tf.matmul(id,id) #line 4
print (x)
Will line #line 4 be executed on GPU automatically?
Suppose we run the following code on a GPU-enabled computer.
import tensorflow as tf
print ("results")
id= tf.eye(2,2)
x= tf.matmul(id,id) #line 4
print (x)
Will line #line 4 be executed on GPU automatically?