TensorFlow基本概念

1 基本概念 2 变量 常量:tf.constant() 变量:tf.Variable() mport tensorflow as tf import os os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2" # 忽略tensorflow警告信息 x = tf.Variable(0) new_x = tf.add(x,1) update = tf.assign(
相关文章
相关标签/搜索