上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 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 阅读(6796) 评论(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) 编辑
摘要: 64页末尾直到72页特殊情况上面 讨论的是调度框架在TensorFlow上面的应用。 首先就学习一下TensorFlow,http://c.biancheng.net/view/1885.html 这里讲的很好。 t_random=tf.random_normal([2,3],mean=2.0,st 阅读全文
posted @ 2021-09-19 21:03 TheDa 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 首先就是机器包含着许多并行运行的处理器(DEVICE),以及通信链路(LINK)。 链路分为两种,一种是处理器间的链路,一种是计算机节点之间的链路。 每个处理器上都有自己的内存(RAM,在程序上标注了大小)。可以有任务Vi被调度到处理器Pj上面。显然任务被 调度到处理器Pj上面的话,那么就需要用到处 阅读全文
posted @ 2021-09-19 14:56 TheDa 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 首先是需要明白模拟器的功能,模拟器的功能就是现在有一个v0.5的版本的芯片,现在需要设计一个v1.0版本的芯片。 然后已有现在的v0.5版本的芯片的数据,模拟器的功能就是跑出v1.0版本的芯片。 然后基于模拟出来的结果,看是core数量不足,还是带宽数量不足等等,最后能够指导下一步的工作。比如cor 阅读全文
posted @ 2021-09-19 13:55 TheDa 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 之前的TensorFlow,只需要先安装Anaconda,然后再参照https://blog.csdn.net/laobai1015/article/details/84580243这篇博客 ,将TensorFlow版本的python添加到环境变量当中,即可完成TensorFlow的安装。 今天准备 阅读全文
posted @ 2021-09-18 21:07 TheDa 阅读(33) 评论(0) 推荐(0) 编辑
摘要: global 很显然是解决variable的全局变量问题 而nonlocal是为了解决 嵌套函数中 变量的修改问题 这样是会报错的: def tester(start): state=start def nested(label): print(label,state) state+=1 retur 阅读全文
posted @ 2021-08-27 23:02 TheDa 阅读(47) 评论(0) 推荐(0) 编辑
摘要: #first.py X=99 #second.py import first print(first.X) first.X=88 这样做在second.py这个文件中对first.py这个文件当中的变量X进行了直接操作,很不安全。 恰当的方法是使用函数引用 #first.py X=99 def se 阅读全文
posted @ 2021-08-27 22:01 TheDa 阅读(23) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页