摘要: MNIST:这是最大的手写数字(0~9)数据库。它由 60000 个示例的训练集和 10000 个示例的测试集组成。该数据集存放在 Yann LeCun 的主页(http://yann.lecun.com/exdb/mnist/)中。这个数据集已经包含在tensorflow.examples.tut 阅读全文
posted @ 2021-09-20 20:15 TheDa 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 一 TensorFlow XLA加速线性代数编译器 http://c.biancheng.net/view/1891.html 二在 TensorFlow 中指定某一设备用于矩阵乘法的计算 http://c.biancheng.net/view/1893.html 阅读全文
posted @ 2021-09-20 20:00 TheDa 阅读(20) 评论(0) 推荐(0) 编辑
摘要: TensorBoard是一个可以使得DAG图可视化的强大功能。 不说了先上效果图 那么怎么才能得到这么精美的图片呢? 一,确保你的电脑已经安装过了TensorBoard 如果没有安装过的话,直接在Windows命令行中输入Pip install tensorboard ,就安装成功了 当然,Tens 阅读全文
posted @ 2021-09-20 19:24 TheDa 阅读(6797) 评论(0) 推荐(0) 编辑
摘要: 单位矩阵 import tensorflow as tf I_matrix=tf.eye(5) with tf.Session() as sess: print(sess.run(I_matrix)) variable矩阵 import tensorflow as tf X=tf.Variable( 阅读全文
posted @ 2021-09-20 16:44 TheDa 阅读(80) 评论(0) 推荐(0) 编辑