随笔分类 -  Theano

摘要:来自:http://deeplearning.net/software/theano/tutorial/extending_theano.htmlExtending Theano 该教程覆盖了如何使用新颖的ops来扩展theano。它主要关注哪些能够提供一个python实现的ops。而Extend... 阅读全文
posted @ 2015-06-23 09:10 仙守 阅读(1812) 评论(1) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/multi_cores.htmlMulti cores support in Theano一、BLAS 操作 BLAS是一个针对于某些数学上操作的接口,其中包括两个向量、一个向量和一个矩阵、两个... 阅读全文
posted @ 2015-06-23 08:09 仙守 阅读(1409) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/examples.htmlMore Examples 现在,是时候开始系统的熟悉theano的基础对象和操作了,可以通过浏览库的部分来详细的了解Basic Tensor Functionalit... 阅读全文
posted @ 2015-06-23 08:01 仙守 阅读(3190) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/profiling.htmlProfiling Theano functionnote:该方法是用来代替旧的ProfileMode.不要再使用ProfileMode了。 在检查错误的同时,另... 阅读全文
posted @ 2015-06-19 22:40 仙守 阅读(1183) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/shape_info.htmlDebugging Theano: FAQ and Troubleshooting 在计算机程序中会有许多种不同的bug。该页就是来说说FAQ,即问题集的。介绍了一... 阅读全文
posted @ 2015-06-19 14:27 仙守 阅读(9784) 评论(0) 推荐(1) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/shape_info.htmlHow Shape Information is Handled by Theano 当建立一个graph的时候,是没法严格的执行theano变量的shape的,因为... 阅读全文
posted @ 2015-06-19 10:05 仙守 阅读(1575) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/aliasing.htmlUnderstanding Memory Aliasing for Speed and Correctness 内存的重用是theano提升代码运行速度的一种方法,而且... 阅读全文
posted @ 2015-06-18 15:46 仙守 阅读(2609) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/gpu_data_convert.htmlPyCUDA/CUDAMat/Gnumpy compatibility一、PyCUDA 当前,PyCUDA 和Theano使用不同的对象来存储GPU数据... 阅读全文
posted @ 2015-06-18 13:36 仙守 阅读(3007) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/using_gpu.htmlusing the GPU 想要看GPU的介绍性的讨论和对密集并行计算的使用,查阅:GPGPU. theano设计的一个目标就是在一个抽象层面上进行特定的计算,所以... 阅读全文
posted @ 2015-06-17 19:51 仙守 阅读(10002) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/sparse.htmlsparse 通常来说,稀疏矩阵可以和常规矩阵一样提供相同的功能。两者不同之处在于在内存中存储矩阵和表示矩阵的方式。在稀疏矩阵中,只有非0元素才会被存储。这种方式带来的优点... 阅读全文
posted @ 2015-06-17 10:49 仙守 阅读(1238) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/loop.htmlloop一、Scan一个递归的通常的形式,可以用来作为循环语句。约间和映射(在第一个(leading,个人翻译成第一个)维度上进行循环)是scan的特殊情况沿着一些输入序列sca... 阅读全文
posted @ 2015-06-16 23:12 仙守 阅读(2975) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/conditions.htmlconditions一、IfElse vs Switch这两个操作都是在符号变量上建立约束条件IfElse采用boolean条件,并且两个变量作为输入。Switcht... 阅读全文
posted @ 2015-06-16 22:59 仙守 阅读(1088) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/loading_and_saving.htmlloading and saving Python的标准方式来保存类实例和装载的方式是pickle机制。许多theano对象可以被pickle序列化... 阅读全文
posted @ 2015-06-16 21:31 仙守 阅读(1715) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/modes.htmlConfiguration Settings and Compiling Modes一、配置 该config模块包含了好几个属性用来修改theano的行为。许多属性会在导入t... 阅读全文
posted @ 2015-06-16 17:14 仙守 阅读(4332) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/gradients.htmlDerivatives in Theano一、计算梯度 现在,让我们使用theano来做稍微更复杂的任务:创建一个函数,用来计算表达式y 关于它的参数x的导数。我们将... 阅读全文
posted @ 2015-06-16 13:29 仙守 阅读(1633) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/printing_drawing.htmlPrinting/Drawing Theano graphs Theano提供的函数theano.printing.pprint()和theano.pr... 阅读全文
posted @ 2015-06-16 11:27 仙守 阅读(1177) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/symbolic_graphs.htmlGraph Structures Theano是将符号数学化的计算表示成graphs。这些graphs是由将Apply和Variable节点内连接而组成的... 阅读全文
posted @ 2015-06-15 22:53 仙守 阅读(1175) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/software/theano/tutorial/adding.htmlBaby Steps - Algebra一、两个标量相加 在学习theano的开始,首先来感受下它是如何工作的,让我们先来定义一个简单的相加函数:>>> import th... 阅读全文
posted @ 2015-06-13 15:56 仙守 阅读(2311) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/tutorial/SdA.html#sda Stacked Denoising Autoencoders (SdA) note:这部分需要读者读过 (Theano3.3-练习之逻辑回归)和(Theano3.4-练习之多层感知机)。另外会使用到的t 阅读全文
posted @ 2015-06-12 15:00 仙守 阅读(598) 评论(0) 推荐(0) 编辑
摘要:来自:http://deeplearning.net/tutorial/dA.html#daa Denoising Autoencoders (dA) note:该部分假设读者已经看过(Theano3.3-练习之逻辑回归)和(Theano3.4-练习之多层感知机)。另外需要了解这几个theano函数 阅读全文
posted @ 2015-06-11 09:35 仙守 阅读(860) 评论(0) 推荐(0) 编辑