import tensorflow as tf print(tf.__version__) tf.autograph.set_verbosity(10, alsologtostdout=True) @tf.function def foo(): return 1 foo()