Python: How to print the value of a Tensor object in ...
devpeace.com › python › 33633370Nov 10, 2015 · In general [B], you cannot print the value of a tensor without running some code in a session. If you are experimenting with the programming model, and want an easy way to evaluate tensors, the tf.InteractiveSession lets you open a session at the start of your program, and then use that session for all Tensor.eval() (and Operation.run() ) calls.