tensorflw
aixp88
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow笔记2-tensorflow基础
import tensorflow as tf graph = tf.Graph() with graph.as_default(): with tf.name_scope("variables"): global_step = tf.Variable(0,dtype=tf.int32,trainable=False,name="global_step")原创 2018-01-13 14:15:14 · 383 阅读 · 0 评论 -
tensorflow笔记1--定义数据流图
python代码: import tensorflow as tf a = tf.constant(5,name="input_a") b = tf.constant(3,name="input_b") c = tf.multiply(a,b,name="mul_c") d = tf.add(a,b,name="add_d") e = tf.add(c,d,name="add_e") ses原创 2018-01-10 15:07:59 · 835 阅读 · 0 评论 -
tensorflow笔记-简单模型训练,保存与提取
训练模型和保存模型代码 import tensorflow as tf import numpy as np x_data = np.random.rand(100) y_data = x_data*2+1 x = tf.placeholder(tf.float32) y = tf.placeholder(tf.float32) w = tf.Variable(0.0) b = tf....原创 2018-03-10 22:34:08 · 1484 阅读 · 1 评论
分享