Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
a7e855b6
提交
a7e855b6
authored
6月 19, 2010
作者:
Dumitru Erhan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cosmetic changes to imports: using gof.python25, where the check for python version is made
上级
a04695a4
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
5 行增加
和
15 行删除
+5
-15
function_module.py
theano/compile/function_module.py
+1
-2
module.py
theano/compile/module.py
+1
-5
python25.py
theano/gof/python25.py
+2
-2
toolbox.py
theano/gof/toolbox.py
+1
-4
basic.py
theano/tensor/basic.py
+0
-2
没有找到文件。
theano/compile/function_module.py
浏览文件 @
a7e855b6
...
@@ -8,8 +8,7 @@ import cPickle
...
@@ -8,8 +8,7 @@ import cPickle
import
sys
,
time
,
copy
import
sys
,
time
,
copy
if
sys
.
version_info
[:
2
]
>=
(
2
,
5
):
from
theano.gof.python25
import
partial
from
functools
import
partial
import
numpy
import
numpy
import
theano.gof
import
theano.gof
...
...
theano/compile/module.py
浏览文件 @
a7e855b6
...
@@ -10,11 +10,7 @@ from theano import gof
...
@@ -10,11 +10,7 @@ from theano import gof
from
theano.printing
import
pprint
from
theano.printing
import
pprint
import
io
,
sys
import
io
,
sys
if
sys
.
version_info
[:
2
]
>=
(
2
,
5
):
from
theano.gof.python25
import
any
,
all
,
defaultdict
,
partial
from
functools
import
partial
from
collections
import
defaultdict
else
:
from
theano.gof.python25
import
any
,
all
,
defaultdict
,
partial
from
itertools
import
chain
from
itertools
import
chain
...
...
theano/gof/python25.py
浏览文件 @
a7e855b6
...
@@ -65,7 +65,7 @@ else:
...
@@ -65,7 +65,7 @@ else:
import
__builtin__
import
__builtin__
all
=
__builtin__
.
all
all
=
__builtin__
.
all
any
=
__builtin__
.
any
any
=
__builtin__
.
any
import
functools
import
functools
,
collections
partial
=
functools
.
partial
partial
=
functools
.
partial
defaultdict
=
collections
.
defaultdict
__all__
=
[
'all'
,
'any'
]
__all__
=
[
'all'
,
'any'
]
theano/gof/toolbox.py
浏览文件 @
a7e855b6
import
sys
import
sys
if
sys
.
version_info
[:
2
]
>=
(
2
,
5
):
from
theano.gof.python25
import
partial
from
functools
import
partial
else
:
from
theano.gof.python25
import
partial
import
graph
import
graph
...
...
theano/tensor/basic.py
浏览文件 @
a7e855b6
...
@@ -6,8 +6,6 @@ import __builtin__
...
@@ -6,8 +6,6 @@ import __builtin__
import
sys
# for sys.maxint
import
sys
# for sys.maxint
from
theano.configparser
import
config
,
AddConfigVar
,
BoolParam
from
theano.configparser
import
config
,
AddConfigVar
,
BoolParam
import
traceback
#for overriding Op.__call__
import
traceback
#for overriding Op.__call__
if
sys
.
version_info
>=
(
2
,
5
):
import
functools
import
numpy
,
theano
import
numpy
,
theano
#from copy import copy as python_copy
#from copy import copy as python_copy
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论