The following code gives no error, but also does not print the tensor.
import tensorflow as tf import numpy as np
EDIT: after bgshi's answer, I found that in the iPython console the code prints the tensor value. But I am using an iPython laptop. Is there a way to make it appear in a notebook?
source share