摘要:
import tensorflow as tf sess = tf.Session() #创建会话 a = tf.constant(3) b = tf.constant(5) #常量数据 c = tf.Variable(9) # 加减乘除操作 myadd = tf.add(a,b) mysub = tf.subtract(a,b) mymul = tf.multiply(a,... 阅读全文
posted @ 2019-07-09 16:55
山…隹
阅读(402)
评论(0)
推荐(0)
摘要:
import tensorflow as tf data1 = tf.constant(25,dtype='int16') data2 = tf.Variable(3,name='data2') print(data1) print(data2) # sess = tf.Session() # init = tf.global_variables_initializer() # sess.ru... 阅读全文
posted @ 2019-07-09 16:48
山…隹
阅读(189)
评论(0)
推荐(0)
摘要:
原图: 像素操作后: 阅读全文
posted @ 2019-07-09 16:11
山…隹
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号