作者:
sheman (夜露死苦)
2020-10-05 20:54:56想請教版上大大
小弟在Anaconda的環境下使用tensorflow 1.15版
只是簡單先跑個程式,程式碼如下:
import tensorflow as tf
x = tf.constant([[1, 2],[3, 4]], name='x')
y = tf.constant([[5, 6],[7, 8]], name='y')
with tf.Session() as sess:
print("y: {}\n".format(sess.run(y)))
沒想到出現以下的錯誤訊息:
InternalError Traceback (most recent call last)
<ipython-input-5-abbc1cf59ac4> in <module>
10 # tf_neg = -x
11