随笔分类 -  tensorflow

摘要:x = tf.placeholder(tf.float32) y = tf.placeholder(tf.float32) w = tf.Variable(tf.zeros([1, 1], dtype=tf.float32)) b = tf.Variable(tf.ones([1, 1], dtype=tf.float32)) y_hat = tf.add(b, tf.matmul(x... 阅读全文
posted @ 2016-12-07 11:19 uprightws 阅读(5672) 评论(0) 推荐(0) 编辑
摘要:转载自http://blog.csdn.net/u012759136/article/details/52232266 原文作者github地址 概述 关于Tensorflow读取数据,官网给出了三种方法: 供给数据(Feeding): 在TensorFlow程序运行的每一步, 让Python代码来 阅读全文
posted @ 2016-12-06 09:22 uprightws 阅读(58918) 评论(2) 推荐(4) 编辑
摘要:import tensorflow as tf import numpy as np from tensorflow.examples.tutorials.mnist import input_data def initWeights(shape): return tf.Variable(tf.random_normal(shape, stddev = 0.1)) de... 阅读全文
posted @ 2016-12-06 08:55 uprightws 阅读(1017) 评论(0) 推荐(0) 编辑
摘要:Tensorflow是目前非常流行的deeplearning框架,学习Tensorflow最好的方法是github上的tf项目https://github.com/tensorflow/tensorflow 或者阅读极客学院主导翻译的中文教程http://wiki.jikexueyuan.com/p 阅读全文
posted @ 2016-12-06 08:53 uprightws 阅读(2035) 评论(0) 推荐(0) 编辑