Constants, unlike variables, cannot have their values changed. That is, constants are immutable. Once they are assigned values, they cannot be changed throughout. We can create constants using the tf.constant(), as shown in the following code:
x = tf.constant(13)