摘要:
#计数器 import tensorflow as tf state = tf.Variable(0,name='counter') #设定变量print(state.name) #打印变量one = tf.constant(1) new_value = tf.add(state,one) upda 阅读全文
posted @ 2018-04-13 17:19
明夫人
阅读(156)
评论(0)
推荐(0)
摘要:
import tensorflow as tfimport numpy as np #create datax_data = np.random.rand(100).astype(np.float32)y_data = x_data*0.1 + 0.3 ###create tensorflow st 阅读全文
posted @ 2018-04-13 10:41
明夫人
阅读(306)
评论(0)
推荐(0)

浙公网安备 33010602011771号