
人工智能
露米花
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 207 阅读 · 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 · 175 阅读 · 0 评论