03 2018 档案

摘要:要加一句 %matplotlib inline 阅读全文
posted @ 2018-03-31 14:43 Apollo_zhanghongbo 阅读(620) 评论(0) 推荐(0)
摘要:tf.reduce_mean() https://www.douban.com/note/636187116/ reduce_sum(), reduce_max()等等类似,只要记住第二个参数: 如果没有指定,则是将数据结构视为1维; 如果是0,则是在第1维,各个对应位置进行计算; 如果是1,则是在 阅读全文
posted @ 2018-03-31 14:38 Apollo_zhanghongbo 阅读(326) 评论(0) 推荐(0)
摘要:https://www.tensorflow.org/api_docs/python/tf/random_normal numpy的random库也有normal函数,功能类似,参数排列次序不同: https://docs.scipy.org/doc/numpy-1.13.0/reference/g 阅读全文
posted @ 2018-03-31 10:05 Apollo_zhanghongbo 阅读(893) 评论(0) 推荐(0)
摘要:https://www.tensorflow.org/api_docs/python/tf/constant 阅读全文
posted @ 2018-03-30 23:15 Apollo_zhanghongbo 阅读(617) 评论(0) 推荐(0)
摘要:https://stackoverflow.com/questions/42286972/converting-from-pandas-dataframe-to-tensorflow-tensor-object 阅读全文
posted @ 2018-03-30 23:04 Apollo_zhanghongbo 阅读(1958) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_22238533/article/details/70917102 阅读全文
posted @ 2018-03-30 23:01 Apollo_zhanghongbo 阅读(2110) 评论(0) 推荐(0)
摘要:神经网络的变量声明函数:tf.Variable() 初始化所有变量: sess = tf.Session() init_op = tf.global_variables_initializer() sess.run(init_op) 对于交叉熵的理解:交叉熵是两个概率分布之间的距离。eg: 假如有个 阅读全文
posted @ 2018-03-27 14:00 Apollo_zhanghongbo 阅读(232) 评论(0) 推荐(0)
摘要:张量:tensor,张量可以被简单理解为多维数组,张量在tensorflow中的实现并不是直接采用数组的形式,它只是对TensorFlow中运算结果的引用。在张量中并没有真正保存数字,它保存的是如何得到这些数字的计算过程。 张量的三要素:名字、维度、类型。eg: 会话:会话拥有并管理TensorFl 阅读全文
posted @ 2018-03-26 19:47 Apollo_zhanghongbo 阅读(513) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/silent56_th/article/details/69367446 阅读全文
posted @ 2018-03-26 16:43 Apollo_zhanghongbo 阅读(640) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/ictcxq/article/details/78545282 阅读全文
posted @ 2018-03-26 16:29 Apollo_zhanghongbo 阅读(2433) 评论(0) 推荐(0)
摘要:参考:https://zhuanlan.zhihu.com/p/22678445 阅读全文
posted @ 2018-03-26 15:16 Apollo_zhanghongbo 阅读(1277) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/a819825294/article/details/52814653 阅读全文
posted @ 2018-03-25 16:41 Apollo_zhanghongbo 阅读(98) 评论(0) 推荐(0)
摘要:参考: https://www.cnblogs.com/gaoss/p/7736281.html 阅读全文
posted @ 2018-03-25 16:39 Apollo_zhanghongbo 阅读(479) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/xue_wenyuan/article/details/51545845 https://stackoverflow.com/questions/35771285/using-tensorflow-through-jupyter-python-3 阅读全文
posted @ 2018-03-25 10:51 Apollo_zhanghongbo 阅读(1810) 评论(0) 推荐(0)
摘要:参考: https://yq.aliyun.com/articles/363321 https://www.tensorflow.org/install/install_linux#InstallingAnaconda 亲测有效! 阅读全文
posted @ 2018-03-25 09:59 Apollo_zhanghongbo 阅读(175) 评论(0) 推荐(0)
摘要:linux /etc/profile,bashrc等文件的加载流程 以及 环境变量的设置 转载:https://blog.csdn.net/qq_29753285/article/details/69367215 环境变量一般在profile文件中设置, 如果只想本次登陆shell有效,直接在she 阅读全文
posted @ 2018-03-24 22:16 Apollo_zhanghongbo 阅读(180) 评论(0) 推荐(0)