nickis666
New Contributor
4 years agoInstall Tensorflow on DE10-NANO
Is there have a document for installing TensorFlow on DE10-NANO?
I can install TensorFlow successfully, but when I use TensorFlow to do something, I get "Illegal instruction",
for example :
sess = tf.Session()
a = tf.constant([[2, 2, 2], [3, 3, 3]], dtype=tf.float32)
b = tf.constant([[1, 1, 1], [2, 2, 2]], dtype=tf.float32)
print(sess.run(a))
print(sess.run(tf.add(a, b))
The code above can work, but when I use the other code like "tf.subtract(a, b)", I will get
"Illegal instruction".
How can I fix it? thanks