Hands-On Reinforcement Learning with Python
上QQ阅读APP看书,第一时间看更新

Constants

Constants, unlike variables, cannot have their values changed. Constants are immutable; once they are assigned values they cannot be changed throughout. We can create constants using the tf.constant() function:

x = tf.constant(13)