This is a beginner question on learning Tensorflow. I'm used to playing around machine learning models in interactive shell like Jupyter notebook. I understand tensorflow
adopts the lazy execution style, so I can't easily print tensors to check.
After some research, I found two work around: tf.InteractiveSession()
or tf.enable_eager_execution()
. From what I understand, both allow me to print variables as I write them. Is this correct? And is there a preference?