随笔分类 -  Theano

摘要:Graph Structure Graph Definition theano's symbolic mathematical computation, which is composed of: Apply node : the application of an operator to some 阅读全文
posted @ 2016-12-31 20:01 姜楠 阅读(342) 评论(0) 推荐(0)
摘要:Theano Inplace inplace Computation computation that destroy their inputs as a side effect. Example if you iterate over matrix and double every element 阅读全文
posted @ 2016-12-22 14:41 姜楠 阅读(203) 评论(0) 推荐(0)
摘要:当我们使用函数对两个数组进行计算时,函数会对这两个数组的对应元素进行计算,因此它要求这两个数组有相同的大小(shape相同)。如果两个数组的shape不同的话,会进行如下的广播(broadcasting)处理: 让所有输入数组都向其中shape最长的数组看齐,shape中不足的部分都通过在前面加1补 阅读全文
posted @ 2016-11-23 15:26 姜楠 阅读(167) 评论(0) 推荐(0)
摘要:selected from "Theano Doc" Optimizing performance Minimizing Scan Usage performan as much of the computation as possible outside of . This may have th 阅读全文
posted @ 2016-11-14 17:57 姜楠 阅读(530) 评论(0) 推荐(0)
摘要:theano 中的一个函数 ; Function: Image Example Input Parameter Return Applications used form calculating ; Codes 阅读全文
posted @ 2016-11-08 22:03 姜楠 阅读(472) 评论(0) 推荐(0)
摘要:转载 - Recurrent Neural Network Tutorial, Part 4 – Implementing a GRU/LSTM RNN with Python and Theano The code for this post is on Github. This is part 4, the last part of the Recurrent Neural Network T... 阅读全文
posted @ 2016-03-02 15:49 姜楠 阅读(2177) 评论(0) 推荐(0)
摘要:转载 - Recurrent Neural Networks Tutorial, Part 3 – Backpropagation Through Time and Vanishing Gradients 本文是 RNN入门教程 的第三部分. In the previous part of the 阅读全文
posted @ 2016-03-02 12:41 姜楠 阅读(3101) 评论(0) 推荐(0)
摘要:转载 - Recurrent Neural Networks Tutorial, Part 2 – Implementing a RNN with Python, Numpy and Theano 本文是RNN教程的第二部分,第一部分教程在这里. 对应的样板代码在 Github上面。 在这部分内容中 阅读全文
posted @ 2016-03-02 10:22 姜楠 阅读(2642) 评论(1) 推荐(0)
摘要:Theano和numpy一样,支持基本的下标取值方法和高级的下标取值方法。 因为theano中没有boolean类型,所以不支持boolean类型的masks。 # head file support import numpy as np numpy中的 Advanced Indexing: 高级下 阅读全文
posted @ 2015-10-16 13:58 姜楠 阅读(727) 评论(0) 推荐(0)
摘要:博客摘自:Deep learning 第二篇 婴儿学步 Theano如何做算数? 输出: 5.0 两个矩阵相加: 到这里,手册里面出现了3个专业名词: scalars ----标量:只有大小,没有方向。比如欧几里几何中的两点的距离。matrix ----矩阵:一种数学标记方法,通常由行和列组成.ve 阅读全文
posted @ 2015-10-13 15:47 姜楠 阅读(528) 评论(0) 推荐(0)