I am new to tensorflow , here is a quick question , this is my code
session=tf.Session()
x=tf.Variable(str)
valueOfX=session.run(x.assign('xyz'))
print(valueOfX)
Why the output is =>
b'xyz'
But when I use int as datatype and assign an integer , the assignment is fine .