Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
fd821ff7
提交
fd821ff7
authored
12月 07, 2011
作者:
nouiz
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #280 from delallea/minor
Some small stuff (mainly an update of NEWS.txt)
上级
2d1d82a6
9bc838bc
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
11 行增加
和
8 行删除
+11
-8
DESCRIPTION.txt
DESCRIPTION.txt
+1
-1
NEWS.txt
NEWS.txt
+0
-0
README.txt
README.txt
+4
-2
graph.py
theano/gof/graph.py
+2
-2
do_nightly_build
theano/misc/do_nightly_build
+3
-2
blas.py
theano/tensor/blas.py
+1
-1
没有找到文件。
DESCRIPTION.txt
浏览文件 @
fd821ff7
...
@@ -3,7 +3,7 @@ Theano is a Python library that allows you to define, optimize, and efficiently
...
@@ -3,7 +3,7 @@ Theano is a Python library that allows you to define, optimize, and efficiently
* **tight integration with NumPy:** a similar interface to NumPy's. numpy.ndarrays are also used internally in Theano-compiled functions.
* **tight integration with NumPy:** a similar interface to NumPy's. numpy.ndarrays are also used internally in Theano-compiled functions.
* **transparent use of a GPU:** perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).
* **transparent use of a GPU:** perform data-intensive computations up to 140x faster than on a CPU (support for float32 only).
* **efficient symbolic differentiation:** Theano can compute derivatives for functions of one or many inputs.
* **efficient symbolic differentiation:** Theano can compute derivatives for functions of one or many inputs.
* **speed and stability optimizations:** avoid nasty bugs when computing expressions such as log(1
+ exp(x)
) for large values of x.
* **speed and stability optimizations:** avoid nasty bugs when computing expressions such as log(1
+ exp(x)
) for large values of x.
* **dynamic C code generation:** evaluate expressions faster.
* **dynamic C code generation:** evaluate expressions faster.
* **extensive unit-testing and self-verification:** includes tools for detecting and diagnosing bugs and/or potential problems.
* **extensive unit-testing and self-verification:** includes tools for detecting and diagnosing bugs and/or potential problems.
...
...
NEWS.txt
浏览文件 @
fd821ff7
差异被折叠。
点击展开。
README.txt
浏览文件 @
fd821ff7
...
@@ -33,8 +33,10 @@ Theano (current directory) is the distribution directory.
...
@@ -33,8 +33,10 @@ Theano (current directory) is the distribution directory.
* sparse depends upon tensor
* sparse depends upon tensor
* sandbox can depend on everything else
* sandbox can depend on everything else
* Theano/examples are copies of the example on the wiki
* Theano/examples are copies of the example on the wiki
* Theano/benchmark, Theano/bin and Theano/examples are in the distribution,
* Theano/benchmark and Theano/examples are in the distribution, but not in
but not in the python package
the Python package
* Theano/bin contains executable scripts that are copied to the bin folder
when the Python package is installed
* Tests are distributed and are part of the package, i.e. fall in
* Tests are distributed and are part of the package, i.e. fall in
the appropriate submodules
the appropriate submodules
* Theano/doc contains files and scripts used to generate the documentation
* Theano/doc contains files and scripts used to generate the documentation
...
...
theano/gof/graph.py
浏览文件 @
fd821ff7
...
@@ -443,7 +443,7 @@ def stack_search(start, expand, mode='bfs', build_inv = False):
...
@@ -443,7 +443,7 @@ def stack_search(start, expand, mode='bfs', build_inv = False):
return
rval_list
return
rval_list
def
ancestors
(
variable_list
,
blockers
=
None
):
def
ancestors
(
variable_list
,
blockers
=
None
):
"""Return the variables that contribute to those in variable_list (inclusive).
"""Return the variables that contribute to those in variable_list (inclusive).
:type variable_list: list of `Variable` instances
:type variable_list: list of `Variable` instances
...
@@ -464,7 +464,7 @@ def ancestors(variable_list, blockers = None):
...
@@ -464,7 +464,7 @@ def ancestors(variable_list, blockers = None):
return
dfs_variables
return
dfs_variables
def
inputs
(
variable_list
,
blockers
=
None
):
def
inputs
(
variable_list
,
blockers
=
None
):
"""Return the inputs required to compute the given Variables.
"""Return the inputs required to compute the given Variables.
:type variable_list: list of `Variable` instances
:type variable_list: list of `Variable` instances
...
...
theano/misc/do_nightly_build
浏览文件 @
fd821ff7
...
@@ -23,9 +23,10 @@ fi
...
@@ -23,9 +23,10 @@ fi
echo
"Number of elements in the compiledir:"
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
ls
${
COMPILEDIR
}
|wc
-l
# We don't want warning
for fixed error in the buildbot
# We don't want warning
s in the buildbod for errors already fixed.
FLAGS
=
${
THEANO_FLAGS
}
,warn.argmax_pushdown_bug
=
False,warn.gpusum_01_011_0111_bug
=
False,warn.sum_sum_bug
=
False,warn.sum_div_dimshuffle_bug
=
False,
$FLAGS
FLAGS
=
${
THEANO_FLAGS
}
,warn.argmax_pushdown_bug
=
False,warn.gpusum_01_011_0111_bug
=
False,warn.sum_sum_bug
=
False,warn.sum_div_dimshuffle_bug
=
False,
$FLAGS
# We want to see correctly optimization error, so make make them raise an error
# We want to see correctly optimization errors, so make make them raise an
# error.
FLAGS
=
on_opt_error
=
raise,
$FLAGS
FLAGS
=
on_opt_error
=
raise,
$FLAGS
# Ignore user device and floatX config, because:
# Ignore user device and floatX config, because:
# 1. Tests are intended to be run with device=cpu.
# 1. Tests are intended to be run with device=cpu.
...
...
theano/tensor/blas.py
浏览文件 @
fd821ff7
...
@@ -907,7 +907,7 @@ def _as_scalar(res, dtype=None):
...
@@ -907,7 +907,7 @@ def _as_scalar(res, dtype=None):
# If dtype is float64, we will cast int64 to float64.
# If dtype is float64, we will cast int64 to float64.
# This is valid when res is a scalar used as input to a dot22
# This is valid when res is a scalar used as input to a dot22
# as the cast of the scalar can be done before or after the dot22
# as the cast of the scalar can be done before or after the dot22
#
and this will give the same result.
# and this will give the same result.
if
theano
.
scalar
.
upcast
(
res
.
dtype
,
dtype
)
==
dtype
:
if
theano
.
scalar
.
upcast
(
res
.
dtype
,
dtype
)
==
dtype
:
return
T
.
cast
(
rval
,
dtype
)
return
T
.
cast
(
rval
,
dtype
)
else
:
else
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论