Import Tensorflow
import tensorflow as tf
print(tf.__version__)
tf.constant creates a constant tensor.
Type and shape can be defined by providing the dtype
and shape parameters as argument to the function.
hello = tf.constant('Hello world!')
Let's print the specified tensor.
tf.print(hello)