Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
91f862a3
提交
91f862a3
authored
9月 11, 2012
作者:
Ian Goodfellow
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed stuff autopep8 broke
上级
7885e618
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
ConvTransp3D.py
theano/tensor/nnet/ConvTransp3D.py
+2
-2
nnet.py
theano/tensor/nnet/nnet.py
+1
-1
sigm.py
theano/tensor/nnet/sigm.py
+1
-1
没有找到文件。
theano/tensor/nnet/ConvTransp3D.py
浏览文件 @
91f862a3
...
@@ -340,9 +340,9 @@ def computeR(W, b, d, H, Rshape=None):
...
@@ -340,9 +340,9 @@ def computeR(W, b, d, H, Rshape=None):
assert
len
(
b
.
shape
)
==
1
assert
len
(
b
.
shape
)
==
1
assert
len
(
d
)
==
3
assert
len
(
d
)
==
3
outputChannels
,
filterHeight
,
filterWidth
,
filterDur
,
outputChannels
,
filterHeight
,
filterWidth
,
filterDur
,
\
inputChannels
=
W
.
shape
inputChannels
=
W
.
shape
batchSize
,
outputHeight
,
outputWidth
,
outputDur
,
batchSize
,
outputHeight
,
outputWidth
,
outputDur
,
\
outputChannelsAgain
=
H
.
shape
outputChannelsAgain
=
H
.
shape
assert
outputChannelsAgain
==
outputChannels
assert
outputChannelsAgain
==
outputChannels
assert
b
.
shape
[
0
]
==
inputChannels
assert
b
.
shape
[
0
]
==
inputChannels
...
...
theano/tensor/nnet/nnet.py
浏览文件 @
91f862a3
...
@@ -1485,7 +1485,7 @@ def local_advanced_indexing_crossentropy_onehot_grad(node):
...
@@ -1485,7 +1485,7 @@ def local_advanced_indexing_crossentropy_onehot_grad(node):
if
adv_subtensor
is
not
None
:
if
adv_subtensor
is
not
None
:
try
:
try
:
maybe_sm
,
maybe_rows
,
maybe_sm
,
maybe_rows
,
\
maybe_labels
=
adv_subtensor
.
owner
.
inputs
maybe_labels
=
adv_subtensor
.
owner
.
inputs
except
Exception
:
except
Exception
:
return
return
...
...
theano/tensor/nnet/sigm.py
浏览文件 @
91f862a3
...
@@ -305,7 +305,7 @@ def local_exp_over_1_plus_exp(node):
...
@@ -305,7 +305,7 @@ def local_exp_over_1_plus_exp(node):
#find all the exp() terms in the numerator
#find all the exp() terms in the numerator
num
,
denom
=
node
.
inputs
num
,
denom
=
node
.
inputs
num_exp_x
,
num_rest
,
num_neg
=
partition_num_or_denom
(
num
,
is_exp
)
num_exp_x
,
num_rest
,
num_neg
=
partition_num_or_denom
(
num
,
is_exp
)
denom_1pexp
,
denom_rest
,
denom_1pexp
,
denom_rest
,
\
denom_neg
=
partition_num_or_denom
(
denom
,
is_1pexp
)
denom_neg
=
partition_num_or_denom
(
denom
,
is_1pexp
)
sigmoids
=
[]
sigmoids
=
[]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论