Hi,
I have a Geforce RTX2070, I am quite confused regarding cuda, cudnn and tensorflow versions, I have tried installing quite a few times using instructions from various websites. I ran this sample code below to check if installation is successful. but i didn’t get the mentioned output so I guess the installation didn’t work. I have currently re-installed ubuntu 18.04, and I wish to do it right this time. can anyone please help with the installation and verifying the installation.
Thank you.
Regards,
Akshay.
sample code to verify:
import tensorflow as tfwith tf.device(’/gpu:0’):
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name=‘a’)
b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name=‘b’)
c = tf.matmul(a, b)
with tf.Session() as sess:
print (sess.run©)