Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
7441389b
提交
7441389b
authored
2月 29, 2012
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Format fixes to keep sphinx happy
上级
873d41b0
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
19 行增加
和
11 行删除
+19
-11
NEWS.txt
doc/NEWS.txt
+7
-5
core_development_guide.txt
doc/core_development_guide.txt
+1
-1
scan.txt
doc/developer/scan.txt
+1
-1
introduction.txt
doc/introduction.txt
+6
-0
randomnumbers.txt
doc/sandbox/randomnumbers.txt
+1
-1
rng_curand.py
theano/sandbox/cuda/rng_curand.py
+0
-0
ops.py
theano/sandbox/linalg/ops.py
+2
-2
basic.py
theano/sparse/basic.py
+0
-0
raw_random.py
theano/tensor/raw_random.py
+1
-1
没有找到文件。
doc/NEWS.txt
浏览文件 @
7441389b
...
...
@@ -54,8 +54,7 @@ Interface Features Removed (most were deprecated):
to return has been removed. Instead, apply a subtensor to the output
returned by scan to select a certain slice.
* The inner function (that scan receives) should return its outputs and
updates following this order:
[outputs], [updates], [condition].
updates following this order: [outputs], [updates], [condition].
One can skip any of the three if not used, but the order has to stay unchanged.
Interface bug fix:
...
...
@@ -74,8 +73,10 @@ Bug fixes (incorrect results):
Dieleman)
* Theoretical bug: in some case we could have GPUSum return bad value.
We were not able to reproduce this problem
* patterns affected ({0,1}*nb dim, 0 no reduction on this dim, 1 reduction on this dim):
01, 011, 0111, 010, 10, 001, 0011, 0101 (Frederic)
* div by zero in verify_grad. This hid a bug in the grad of Images2Neibs. (James)
* theano.sandbox.neighbors.Images2Neibs grad was returning a wrong value.
The grad is now disabled and returns an error. (Frederic)
...
...
@@ -98,9 +99,10 @@ Scan fixes:
before : most of the time crash, but could be wrong value with bad number of dimensions (so a visible bug)
now : do the right thing.
* gradient with respect to outputs using multiple taps (reported by Timothy, fix by Razvan)
before : it used to return wrong values
now : do the right thing.
Note: The reported case of this bug was happening in conjunction with the
* before : it used to return wrong values
* now : do the right thing.
* Note: The reported case of this bug was happening in conjunction with the
save optimization of scan that give run time errors. So if you didn't
manually disable the same memory optimization (number in the list4),
you are fine if you didn't manually request multiple taps.
...
...
doc/core_development_guide.txt
浏览文件 @
7441389b
...
...
@@ -20,7 +20,7 @@ some of them might be outdated though:
* :ref:`pipeline` -- Describes the steps of compiling a Theano Function.
* :ref:`graphstructure` -- Describes the symbolic graphs generated by
* :ref:`graphstructure
s
` -- Describes the symbolic graphs generated by
:mod:`theano.scan`.
* :ref:`unittest` -- Tutorial on how to use unittest in testing Theano.
...
...
doc/developer/scan.txt
浏览文件 @
7441389b
...
...
@@ -91,7 +91,7 @@ Naming conventions
* ``input_state`` will stand for a state :math:`\mathbf{x}`, when it is
provided as an input to the recurrent formula (the inner function) that
will generate the new value of the state
* ``output_state`` will stand for a state :math:`\math{x}` when it refers
* ``output_state`` will stand for a state :math:`\math
bf
{x}` when it refers
to the result of the recurrent formula (the output of the inner function)
* ``output`` will stand for an output :math:`\mathbf{y}`
* ``input`` will be an input :math:`\mathbf{u}`
...
...
doc/introduction.txt
浏览文件 @
7441389b
...
...
@@ -174,23 +174,29 @@ Here is the state of that vision as of 24 October 2011 (after Theano release
* We have many graph transformations that cover the 4 categories listed above.
* We can improve the graph transformation with better storage optimization
and instruction selection.
* Similar to auto-tuning during the optimization phase, but this
doesn't apply to only 1 op.
* Example of use: Determine if we should move computation to the
GPU or not depending on the input size.
* Possible implementation note: allow Theano Variable in the env to
have more then 1 owner.
* We have a CUDA backend for tensors of type `float32` only.
* Efforts have begun towards a generic GPU ndarray (GPU tensor) (started in the
`compyte <https://github.com/inducer/compyte/wiki>`_ project)
* Move GPU backend outside of Theano (on top of PyCUDA/PyOpenCL)
* Will provide better support for GPU on Windows and use an OpenCL backend on CPU.
* Loops work, but not all related optimizations are currently done.
* The cvm linker allows lazy evaluation. It works, but some work is still
needed before enabling it by default.
* All tests pass with linker=cvm?
* How to have `DEBUG_MODE` check it? Right now, DebugMode checks the computation non-lazily.
* The profiler used by cvm is less complete than `PROFILE_MODE`.
* SIMD parallelism on the CPU comes from the compiler.
* Multi-core parallelism is only supported for gemv and gemm, and only
if the external BLAS implementation supports it.
...
...
doc/sandbox/randomnumbers.txt
浏览文件 @
7441389b
.. sandbox_randnb:
..
_
sandbox_randnb:
==============
Random Numbers
...
...
theano/sandbox/cuda/rng_curand.py
浏览文件 @
7441389b
theano/sandbox/linalg/ops.py
浏览文件 @
7441389b
...
...
@@ -480,8 +480,8 @@ class MatrixPinv(Op):
The pseudo-inverse of a matrix A, denoted :math:`A^+`, is
defined as: "the matrix that 'solves' [the least-squares problem]
:math:`Ax = b`," i.e., if :math:`
\b
ar{x}` is said solution, then
:math:`A^+` is that matrix such that :math:`
\b
ar{x} = A^+b`.
:math:`Ax = b`," i.e., if :math:`
\
\
bar{x}` is said solution, then
:math:`A^+` is that matrix such that :math:`
\
\
bar{x} = A^+b`.
Note that :math:`Ax=AA^+b`, so :math:`AA^+` is close to the identity matrix.
This method is not faster then `matrix_inverse`. Its strength comes from
...
...
theano/sparse/basic.py
浏览文件 @
7441389b
theano/tensor/raw_random.py
浏览文件 @
7441389b
...
...
@@ -563,7 +563,7 @@ def permutation(random_state, size=None, n=1, ndim=None, dtype='int64'):
the size argument and the shape of n, but you may always specify it
with the `ndim` parameter.
.. note:
:
:note
:
Note that the output will then be of dimension ndim+1.
"""
ndim
,
size
,
bcast
=
_infer_ndim_bcast
(
ndim
,
size
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论