![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
人工智能
露米花
这个作者很懒,什么都没留下…
展开
-
tensorflow 学习 Hello World
准备学习tensorflow,首先记录下 第一次测试程序 一、实现 输出hello world #!/usr/bin/env python import tensorflow as tf sess = tf.Session() hello = tf.constant("hello World!",dtype=tf.string) print(sess.run(hello)) 下面学习...原创 2018-09-12 19:44:19 · 158 阅读 · 0 评论 -
tensorflow 学习 softmax Regression 识别手写数字
下面代码是来自 tensorflow 实战一书, 主要包括三个部分: 1.构建模型 y=w*x+b 2.构建损失函数模型-交叉熵 3.构建查找最优值方法–梯度下降 #!/user/bin/env python import tensorflow as tf sess = tf.InteractiveSession() # x is feature value x = tf.plac...原创 2018-09-14 10:21:10 · 134 阅读 · 0 评论