Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
9648f76b
提交
9648f76b
authored
1月 27, 2010
作者:
Frederic Bastien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
back port to python 2.4 the new config stuff.
上级
9739a54b
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
9 行增加
和
10 行删除
+9
-10
debugmode.py
theano/compile/debugmode.py
+1
-2
mode.py
theano/compile/mode.py
+1
-1
profilemode.py
theano/compile/profilemode.py
+1
-1
configdefaults.py
theano/configdefaults.py
+1
-1
compiledir.py
theano/gof/compiledir.py
+1
-1
basic.py
theano/scalar/basic.py
+1
-1
basic.py
theano/tensor/basic.py
+1
-1
blas.py
theano/tensor/blas.py
+1
-1
opt.py
theano/tensor/opt.py
+1
-1
没有找到文件。
theano/compile/debugmode.py
浏览文件 @
9648f76b
...
...
@@ -11,7 +11,7 @@ from theano.gof import Env, graph, utils, link
from
theano.gof.link
import
WrapLinkerMany
,
raise_with_op
#from theano.gof.cutils import run_cthunk
from
theano.gof.cc
import
OpWiseCLinker
,
CLinker
from
..configparser
import
config
from
theano.configparser
import
config
,
AddConfigVar
,
IntParam
,
BoolParam
from
theano.compile.function_module
import
(
FunctionMaker
,
Function
,
infer_reuse_pattern
,
...
...
@@ -20,7 +20,6 @@ from theano.compile.function_module import (FunctionMaker,
SymbolicOutput
,
Supervisor
)
from
theano.compile.mode
import
Mode
,
register_mode
from
..configparser
import
config
,
AddConfigVar
,
IntParam
,
BoolParam
AddConfigVar
(
'DebugMode.patience'
,
"Optimize graph this many times to detect inconsistency"
,
...
...
theano/compile/mode.py
浏览文件 @
9648f76b
...
...
@@ -4,7 +4,7 @@ import os, logging
import
numpy
from
theano
import
gof
from
.
.configparser
import
config
from
theano
.configparser
import
config
_logger
=
logging
.
getLogger
(
'theano.compile.mode'
)
...
...
theano/compile/profilemode.py
浏览文件 @
9648f76b
...
...
@@ -6,7 +6,7 @@ from theano.compile.mode import Mode, register_mode, predefined_modes, predefine
from
theano.gof.cc
import
OpWiseCLinker
from
theano.gof.python25
import
any
from
theano
import
gof
from
.
.configparser
import
config
,
AddConfigVar
,
IntParam
from
theano
.configparser
import
config
,
AddConfigVar
,
IntParam
import_time
=
time
.
time
()
...
...
theano/configdefaults.py
浏览文件 @
9648f76b
import
os
from
.configparser
import
TheanoConfigParser
,
AddConfigVar
,
EnumStr
,
StrParam
,
IntParam
,
FloatParam
,
BoolParam
from
theano
.configparser
import
TheanoConfigParser
,
AddConfigVar
,
EnumStr
,
StrParam
,
IntParam
,
FloatParam
,
BoolParam
config
=
TheanoConfigParser
()
...
...
theano/gof/compiledir.py
浏览文件 @
9648f76b
...
...
@@ -4,7 +4,7 @@ import os, sys
import
platform
import
re
from
.
.configparser
import
config
,
AddConfigVar
,
StrParam
from
theano
.configparser
import
config
,
AddConfigVar
,
StrParam
def
default_compiledirname
():
platform_id
=
platform
.
platform
()
+
'-'
+
platform
.
processor
()
...
...
theano/scalar/basic.py
浏览文件 @
9648f76b
...
...
@@ -7,7 +7,7 @@ import numpy
from
theano
import
gof
from
theano.gof
import
Op
,
utils
,
Variable
,
Constant
,
Type
,
Apply
,
Env
from
theano.gof.python25
import
partial
,
all
,
any
from
.
.configparser
import
config
from
theano
.configparser
import
config
def
upcast
(
dtype
,
*
dtypes
):
z
=
numpy
.
zeros
((),
dtype
=
dtype
)
...
...
theano/tensor/basic.py
浏览文件 @
9648f76b
...
...
@@ -4,7 +4,7 @@ __docformat__ = "restructuredtext en"
import
__builtin__
import
sys
# for sys.maxint
from
.
.configparser
import
config
from
theano
.configparser
import
config
import
traceback
#for overriding Op.__call__
if
sys
.
version_info
>=
(
2
,
5
):
import
functools
...
...
theano/tensor/blas.py
浏览文件 @
9648f76b
...
...
@@ -3,7 +3,7 @@
import
sys
,
traceback
,
logging
import
numpy
import
numpy.distutils
from
.
.configparser
import
config
,
AddConfigVar
,
StrParam
from
theano
.configparser
import
config
,
AddConfigVar
,
StrParam
from
theano.gof
import
(
utils
,
Op
,
Apply
,
view_roots
,
PatternSub
,
DestroyHandler
,
SeqOptimizer
,
local_optimizer
,
Optimizer
,
LocalOptimizer
,
OpKeyOptimizer
,
InconsistencyError
,
toolbox
)
...
...
theano/tensor/opt.py
浏览文件 @
9648f76b
...
...
@@ -9,7 +9,7 @@ _logger = logging.getLogger('theano.tensor.opt')
from
theano
import
gof
from
theano.gof
import
opt
,
InconsistencyError
,
TopoOptimizer
,
graph
from
theano.gof.utils
import
MethodNotDefined
from
.
.configparser
import
config
from
theano
.configparser
import
config
from
elemwise
import
Elemwise
,
DimShuffle
from
theano
import
scalar
import
basic
as
T
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论