Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
07a20a71
提交
07a20a71
authored
9月 08, 2014
作者:
Frédéric Bastien
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2093 from nouiz/doc
Doc
上级
5045b4df
348db2d6
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
7 行删除
+16
-7
config.txt
doc/library/config.txt
+1
-1
op.py
theano/gof/op.py
+4
-1
blas.py
theano/sandbox/cuda/blas.py
+10
-4
slinalg.py
theano/tensor/slinalg.py
+1
-1
没有找到文件。
doc/library/config.txt
浏览文件 @
07a20a71
...
@@ -188,7 +188,7 @@ import theano and print the config variable, as in:
...
@@ -188,7 +188,7 @@ import theano and print the config variable, as in:
String value: either 'ignore', 'warn', 'raise' or 'pdb'
String value: either 'ignore', 'warn', 'raise' or 'pdb'
Default: '
float64
'
Default: '
ignore
'
When creating a TensorVariable with dtype float64, what should be done?
When creating a TensorVariable with dtype float64, what should be done?
This is useful to help find upcast to float64 in user code.
This is useful to help find upcast to float64 in user code.
...
...
theano/gof/op.py
浏览文件 @
07a20a71
...
@@ -663,7 +663,10 @@ class Op(utils.object2, PureOp, CLinkerOp):
...
@@ -663,7 +663,10 @@ class Op(utils.object2, PureOp, CLinkerOp):
if
len
(
self
.
__props__
)
==
0
:
if
len
(
self
.
__props__
)
==
0
:
return
"
%
s"
%
(
self
.
__class__
.
__name__
,)
return
"
%
s"
%
(
self
.
__class__
.
__name__
,)
else
:
else
:
return
"
%
s{
%
s}"
%
(
self
.
__class__
.
__name__
,
", "
.
join
(
"
%
s=
%
r"
%
(
p
,
getattr
(
self
,
p
))
for
p
in
self
.
__props__
))
return
"
%
s{
%
s}"
%
(
self
.
__class__
.
__name__
,
", "
.
join
(
"
%
s=
%
r"
%
(
p
,
getattr
(
self
,
p
))
for
p
in
self
.
__props__
))
else
:
else
:
return
super
(
Op
,
self
)
.
__str__
()
return
super
(
Op
,
self
)
.
__str__
()
...
...
theano/sandbox/cuda/blas.py
浏览文件 @
07a20a71
...
@@ -852,8 +852,11 @@ class GpuCorrMM(BaseGpuCorrMM):
...
@@ -852,8 +852,11 @@ class GpuCorrMM(BaseGpuCorrMM):
class
GpuCorrMM_gradWeights
(
BaseGpuCorrMM
):
class
GpuCorrMM_gradWeights
(
BaseGpuCorrMM
):
"""Gradient wrt. filters for `GpuCorrMM`.
"""Gradient wrt. filters for `GpuCorrMM`.
:note: You will not want to use this directly, but rely on Theano's
:note: You will not want to use this directly, but rely on
automatic differentiation or graph optimization to use it as needed."""
Theano's automatic differentiation or graph optimization to
use it as needed.
"""
def
__init__
(
self
,
border_mode
=
"valid"
,
def
__init__
(
self
,
border_mode
=
"valid"
,
subsample
=
(
1
,
1
),
subsample
=
(
1
,
1
),
...
@@ -906,8 +909,11 @@ class GpuCorrMM_gradWeights(BaseGpuCorrMM):
...
@@ -906,8 +909,11 @@ class GpuCorrMM_gradWeights(BaseGpuCorrMM):
class
GpuCorrMM_gradInputs
(
BaseGpuCorrMM
):
class
GpuCorrMM_gradInputs
(
BaseGpuCorrMM
):
"""Gradient wrt. inputs for `GpuCorrMM`.
"""Gradient wrt. inputs for `GpuCorrMM`.
:note: You will not want to use this directly, but rely on Theano's
:note: You will not want to use this directly, but rely on
automatic differentiation or graph optimization to use it as needed."""
Theano's automatic differentiation or graph optimization to
use it as needed.
"""
def
__init__
(
self
,
border_mode
=
"valid"
,
def
__init__
(
self
,
border_mode
=
"valid"
,
subsample
=
(
1
,
1
),
subsample
=
(
1
,
1
),
...
...
theano/tensor/slinalg.py
浏览文件 @
07a20a71
...
@@ -155,7 +155,7 @@ class Solve(Op):
...
@@ -155,7 +155,7 @@ class Solve(Op):
self
.
overwrite_b
=
overwrite_b
self
.
overwrite_b
=
overwrite_b
def
__repr__
(
self
):
def
__repr__
(
self
):
return
'Solve{
%
s}'
%
str
(
self
.
props
())
return
'Solve{
%
s}'
%
str
(
self
.
_
props
())
def
make_node
(
self
,
A
,
b
):
def
make_node
(
self
,
A
,
b
):
assert
imported_scipy
,
(
assert
imported_scipy
,
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论