Eager Execution in Tensorflow

import tensorflow as tf

import os

# Just disables the warning, doesn't enable AVX/FMA
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
tf.enable_eager_execution()
a = tf.constant([1.0, 2.0])
a
<tf.Tensor: id=3, shape=(2,), dtype=float32, numpy=array([1., 2.], dtype=float32)>
print(a)
tf.Tensor([1. 2.], shape=(2,), dtype=float32)

(Not sure what does it do here. Need to dig more)