Hi,
I am referring tensorflow.ipynb file. I am trying to run it in cloudxlab. When i run below line of code.
sess = tf.Session()
sess.run(x.initializer)
sess.run(y.initializer)
result = sess.run(f)
print(result)
sess.close()
It is showing type error as below:
TypeError: Fetch argument <_io.TextIOWrapper name=‘simple.txt’ mode=‘r’ encoding=‘UTF-8’> has invalid type <class ‘_io.TextIOWrapper’>, must be a string or Tensor. (Can not convert a TextIOWrapper into a Tensor or Operation.)
can you please help me on how to fix it.