Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
0162c1d9
提交
0162c1d9
authored
5月 02, 2015
作者:
David Warde-Farley
提交者:
Arnaud Bergeron
6月 22, 2015
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix imports for Python 3k.
上级
d0c3feb7
隐藏空白字符变更
内嵌
并排
正在显示
31 个修改的文件
包含
48 行增加
和
46 行删除
+48
-46
io.py
theano/compile/io.py
+1
-1
mode.py
theano/compile/mode.py
+3
-3
profilemode.py
theano/compile/profilemode.py
+1
-1
cutils.py
theano/gof/cutils.py
+1
-1
destroyhandler.py
theano/gof/destroyhandler.py
+3
-3
fg.py
theano/gof/fg.py
+1
-1
lazylinker_c.py
theano/gof/lazylinker_c.py
+2
-1
vm.py
theano/gof/vm.py
+2
-2
pycuda_example.py
theano/misc/pycuda_example.py
+1
-1
__init__.py
theano/sandbox/cuda/__init__.py
+1
-1
type.py
theano/sandbox/gpuarray/type.py
+1
-1
__init__.py
theano/sandbox/linalg/__init__.py
+1
-1
rng_mrg.py
theano/sandbox/rng_mrg.py
+1
-1
__init__.py
theano/sandbox/scan_module/__init__.py
+1
-1
scan.py
theano/sandbox/scan_module/scan.py
+2
-2
test_scan.py
theano/sandbox/scan_module/tests/test_scan.py
+1
-1
test_multinomial.py
theano/sandbox/test_multinomial.py
+1
-1
test_scan.py
theano/sandbox/test_scan.py
+1
-1
test_theano_object.py
theano/sandbox/test_theano_object.py
+1
-1
__init__.py
theano/scalar/__init__.py
+2
-2
sharedvar.py
theano/scalar/sharedvar.py
+1
-1
scan_op.py
theano/scan_module/scan_op.py
+1
-1
scan_perform_ext.py
theano/scan_module/scan_perform_ext.py
+2
-1
inplace.py
theano/tensor/inplace.py
+1
-1
Conv3D.py
theano/tensor/nnet/Conv3D.py
+2
-2
__init__.py
theano/tensor/nnet/__init__.py
+6
-6
test_blas.py
theano/tensor/tests/test_blas.py
+1
-1
test_blas_scipy.py
theano/tensor/tests/test_blas_scipy.py
+1
-1
test_xlogx.py
theano/tensor/tests/test_xlogx.py
+1
-1
__init__.py
theano/typed_list/__init__.py
+3
-3
basic.py
theano/typed_list/basic.py
+1
-1
没有找到文件。
theano/compile/io.py
浏览文件 @
0162c1d9
"""Define `SymbolicInput`, `SymbolicOutput`, `In`, `Out` """
"""Define `SymbolicInput`, `SymbolicOutput`, `In`, `Out` """
from
theano
import
gof
from
theano
import
gof
from
sharedvalue
import
SharedVariable
from
.
sharedvalue
import
SharedVariable
import
logging
import
logging
_logger
=
logging
.
getLogger
(
"theano.compile.io"
)
_logger
=
logging
.
getLogger
(
"theano.compile.io"
)
...
...
theano/compile/mode.py
浏览文件 @
0162c1d9
...
@@ -359,13 +359,13 @@ def get_mode(orig_string):
...
@@ -359,13 +359,13 @@ def get_mode(orig_string):
if
string
in
[
'Mode'
,
'ProfileMode'
,
'DebugMode'
]:
if
string
in
[
'Mode'
,
'ProfileMode'
,
'DebugMode'
]:
if
string
==
'DebugMode'
:
if
string
==
'DebugMode'
:
# need to import later to break circular dependency.
# need to import later to break circular dependency.
from
debugmode
import
DebugMode
from
.
debugmode
import
DebugMode
# DebugMode use its own linker.
# DebugMode use its own linker.
ret
=
DebugMode
(
optimizer
=
config
.
optimizer
)
ret
=
DebugMode
(
optimizer
=
config
.
optimizer
)
else
:
else
:
# This might be required if the string is 'ProfileMode'
# This might be required if the string is 'ProfileMode'
from
profilemode
import
ProfileMode
# noqa
from
.
profilemode
import
ProfileMode
# noqa
from
profilemode
import
prof_mode_instance_to_print
from
.
profilemode
import
prof_mode_instance_to_print
ret
=
eval
(
string
+
ret
=
eval
(
string
+
'(linker=config.linker, optimizer=config.optimizer)'
)
'(linker=config.linker, optimizer=config.optimizer)'
)
elif
string
in
predefined_modes
:
elif
string
in
predefined_modes
:
...
...
theano/compile/profilemode.py
浏览文件 @
0162c1d9
...
@@ -13,7 +13,7 @@ from theano.compile.mode import (Mode, register_mode,
...
@@ -13,7 +13,7 @@ from theano.compile.mode import (Mode, register_mode,
from
theano.configparser
import
config
,
AddConfigVar
,
IntParam
,
BoolParam
from
theano.configparser
import
config
,
AddConfigVar
,
IntParam
,
BoolParam
from
theano.compile.function_module
import
FunctionMaker
from
theano.compile.function_module
import
FunctionMaker
from
profiling
import
ProfileStats
from
.
profiling
import
ProfileStats
run_cthunk
=
None
# Will be imported only when needed.
run_cthunk
=
None
# Will be imported only when needed.
import_time
=
time
.
time
()
import_time
=
time
.
time
()
...
...
theano/gof/cutils.py
浏览文件 @
0162c1d9
...
@@ -5,7 +5,7 @@ import sys
...
@@ -5,7 +5,7 @@ import sys
from
theano.compat
import
PY3
from
theano.compat
import
PY3
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano
import
config
from
theano
import
config
import
cmodule
from
.
import
cmodule
# TODO These two lines may be removed in the future, when we are 100% sure
# TODO These two lines may be removed in the future, when we are 100% sure
# noone has an old cutils_ext.so lying around anymore.
# noone has an old cutils_ext.so lying around anymore.
...
...
theano/gof/destroyhandler.py
浏览文件 @
0162c1d9
...
@@ -3,12 +3,12 @@ Classes and functions for validating graphs that contain view
...
@@ -3,12 +3,12 @@ Classes and functions for validating graphs that contain view
and inplace operations.
and inplace operations.
"""
"""
import
theano
import
theano
import
toolbox
from
.
import
toolbox
import
graph
from
.
import
graph
from
theano.compat
import
deque
,
OrderedDict
from
theano.compat
import
deque
,
OrderedDict
from
theano.misc.ordered_set
import
OrderedSet
from
theano.misc.ordered_set
import
OrderedSet
from
fg
import
InconsistencyError
from
.
fg
import
InconsistencyError
class
ProtocolError
(
Exception
):
class
ProtocolError
(
Exception
):
...
...
theano/gof/fg.py
浏览文件 @
0162c1d9
...
@@ -248,7 +248,7 @@ class FunctionGraph(utils.object2):
...
@@ -248,7 +248,7 @@ class FunctionGraph(utils.object2):
def
__import_r__
(
self
,
variable
,
reason
):
def
__import_r__
(
self
,
variable
,
reason
):
global
NullType
global
NullType
if
NullType
is
None
:
if
NullType
is
None
:
from
null_type
import
NullType
from
.
null_type
import
NullType
# Imports the owners of the variables
# Imports the owners of the variables
if
variable
.
owner
and
variable
.
owner
not
in
self
.
apply_nodes
:
if
variable
.
owner
and
variable
.
owner
not
in
self
.
apply_nodes
:
self
.
__import__
(
variable
.
owner
,
reason
=
reason
)
self
.
__import__
(
variable
.
owner
,
reason
=
reason
)
...
...
theano/gof/lazylinker_c.py
浏览文件 @
0162c1d9
...
@@ -10,6 +10,7 @@ from theano import config
...
@@ -10,6 +10,7 @@ from theano import config
from
theano.compat
import
reload
from
theano.compat
import
reload
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof
import
cmodule
from
theano.gof
import
cmodule
import
imp
_logger
=
logging
.
getLogger
(
'theano.gof.lazylinker_c'
)
_logger
=
logging
.
getLogger
(
'theano.gof.lazylinker_c'
)
...
@@ -27,7 +28,7 @@ def try_import():
...
@@ -27,7 +28,7 @@ def try_import():
def
try_reload
():
def
try_reload
():
sys
.
path
[
0
:
0
]
=
[
config
.
compiledir
]
sys
.
path
[
0
:
0
]
=
[
config
.
compiledir
]
reload
(
lazylinker_ext
)
imp
.
reload
(
lazylinker_ext
)
del
sys
.
path
[
0
]
del
sys
.
path
[
0
]
try
:
try
:
...
...
theano/gof/vm.py
浏览文件 @
0162c1d9
...
@@ -3,7 +3,7 @@ VMs that run Theano graph computations.
...
@@ -3,7 +3,7 @@ VMs that run Theano graph computations.
A VM is not actually different from a Linker, we just decided
A VM is not actually different from a Linker, we just decided
VM was a better name at some point.
VM was a better name at some point.
"""
"""
import
link
from
.
import
link
import
logging
import
logging
import
os
import
os
import
sys
import
sys
...
@@ -661,7 +661,7 @@ class Stack(VM):
...
@@ -661,7 +661,7 @@ class Stack(VM):
try
:
try
:
import
lazylinker_c
from
.
import
lazylinker_c
class
CVM
(
lazylinker_c
.
CLazyLinker
,
VM
):
class
CVM
(
lazylinker_c
.
CLazyLinker
,
VM
):
...
...
theano/misc/pycuda_example.py
浏览文件 @
0162c1d9
...
@@ -31,7 +31,7 @@ from theano.sandbox.cuda.basic_ops import (as_cuda_ndarray_variable,
...
@@ -31,7 +31,7 @@ from theano.sandbox.cuda.basic_ops import (as_cuda_ndarray_variable,
from
theano.sandbox.cuda.opt
import
gpu_seqopt
from
theano.sandbox.cuda.opt
import
gpu_seqopt
from
theano.tensor.utils
import
hash_from_dict
from
theano.tensor.utils
import
hash_from_dict
import
pycuda_init
from
.
import
pycuda_init
if
not
pycuda_init
.
pycuda_available
:
if
not
pycuda_init
.
pycuda_available
:
raise
Exception
(
"No pycuda available. You can't load pycuda_example.py"
)
raise
Exception
(
"No pycuda available. You can't load pycuda_example.py"
)
...
...
theano/sandbox/cuda/__init__.py
浏览文件 @
0162c1d9
...
@@ -14,7 +14,7 @@ from theano.gof import EquilibriumDB, SequenceDB
...
@@ -14,7 +14,7 @@ from theano.gof import EquilibriumDB, SequenceDB
from
theano.gof.cmodule
import
get_lib_extension
from
theano.gof.cmodule
import
get_lib_extension
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.configparser
import
config
,
AddConfigVar
,
StrParam
,
BoolParam
from
theano.configparser
import
config
,
AddConfigVar
,
StrParam
,
BoolParam
import
nvcc_compiler
from
.
import
nvcc_compiler
# ignore_newtrees is to speed the optimization as this is the pattern
# ignore_newtrees is to speed the optimization as this is the pattern
# we use for optimization. Otherwise, we can iterate 100s of time on
# we use for optimization. Otherwise, we can iterate 100s of time on
...
...
theano/sandbox/gpuarray/type.py
浏览文件 @
0162c1d9
...
@@ -296,7 +296,7 @@ class GpuArrayType(Type):
...
@@ -296,7 +296,7 @@ class GpuArrayType(Type):
class
_operators
(
_tensor_py_operators
):
class
_operators
(
_tensor_py_operators
):
def
_as_TensorVariable
(
self
):
def
_as_TensorVariable
(
self
):
from
basic_ops
import
host_from_gpu
from
.
basic_ops
import
host_from_gpu
return
host_from_gpu
(
self
)
return
host_from_gpu
(
self
)
def
_as_GpuArrayVariable
(
self
):
def
_as_GpuArrayVariable
(
self
):
...
...
theano/sandbox/linalg/__init__.py
浏览文件 @
0162c1d9
from
ops
import
(
cholesky
,
matrix_inverse
,
solve
,
from
.
ops
import
(
cholesky
,
matrix_inverse
,
solve
,
diag
,
extract_diag
,
alloc_diag
,
diag
,
extract_diag
,
alloc_diag
,
det
,
psd
,
eig
,
eigh
,
eigvalsh
,
det
,
psd
,
eig
,
eigh
,
eigvalsh
,
trace
,
spectral_radius_bound
)
trace
,
spectral_radius_bound
)
theano/sandbox/rng_mrg.py
浏览文件 @
0162c1d9
...
@@ -19,7 +19,7 @@ from theano.tensor import sqrt, log, sin, cos, join, prod
...
@@ -19,7 +19,7 @@ from theano.tensor import sqrt, log, sin, cos, join, prod
from
theano.compile
import
optdb
from
theano.compile
import
optdb
from
theano.gof
import
local_optimizer
from
theano.gof
import
local_optimizer
import
multinomial
from
.
import
multinomial
from
theano.sandbox.cuda
import
cuda_available
,
cuda_enabled
,
GpuOp
from
theano.sandbox.cuda
import
cuda_available
,
cuda_enabled
,
GpuOp
if
cuda_available
:
if
cuda_available
:
...
...
theano/sandbox/scan_module/__init__.py
浏览文件 @
0162c1d9
...
@@ -38,4 +38,4 @@ __authors__ = ("Razvan Pascanu "
...
@@ -38,4 +38,4 @@ __authors__ = ("Razvan Pascanu "
__copyright__
=
"(c) 2010, Universite de Montreal"
__copyright__
=
"(c) 2010, Universite de Montreal"
__contact__
=
"Razvan Pascanu <r.pascanu@gmail>"
__contact__
=
"Razvan Pascanu <r.pascanu@gmail>"
from
scan
import
scan
from
.
scan
import
scan
theano/sandbox/scan_module/scan.py
浏览文件 @
0162c1d9
...
@@ -53,8 +53,8 @@ from theano import tensor
...
@@ -53,8 +53,8 @@ from theano import tensor
from
theano.scalar.sharedvar
import
shared
as
scalar_shared
from
theano.scalar.sharedvar
import
shared
as
scalar_shared
from
theano.compile.pfunc
import
rebuild_collect_shared
from
theano.compile.pfunc
import
rebuild_collect_shared
import
scan_op
from
.
import
scan_op
import
scan_utils
from
.
import
scan_utils
# Logging function for sending warning or info
# Logging function for sending warning or info
_logger
=
logging
.
getLogger
(
'theano.scan_module.scan'
)
_logger
=
logging
.
getLogger
(
'theano.scan_module.scan'
)
...
...
theano/sandbox/scan_module/tests/test_scan.py
浏览文件 @
0162c1d9
...
@@ -17,7 +17,7 @@ from theano.compile.pfunc import rebuild_collect_shared
...
@@ -17,7 +17,7 @@ from theano.compile.pfunc import rebuild_collect_shared
from
theano.tests
import
unittest_tools
as
utt
from
theano.tests
import
unittest_tools
as
utt
from
numpy.testing.noseclasses
import
KnownFailureTest
from
numpy.testing.noseclasses
import
KnownFailureTest
from
test_utils
import
*
from
.
test_utils
import
*
import
theano.sandbox.scan_module
as
scan_module
import
theano.sandbox.scan_module
as
scan_module
from
theano.sandbox.scan_module.scan_op
import
ScanOp
from
theano.sandbox.scan_module.scan_op
import
ScanOp
...
...
theano/sandbox/test_multinomial.py
浏览文件 @
0162c1d9
...
@@ -4,7 +4,7 @@ import numpy
...
@@ -4,7 +4,7 @@ import numpy
import
theano
import
theano
from
theano
import
config
,
function
,
tensor
from
theano
import
config
,
function
,
tensor
import
multinomial
from
.
import
multinomial
from
theano.compile.mode
import
get_default_mode
,
predefined_linkers
from
theano.compile.mode
import
get_default_mode
,
predefined_linkers
import
theano.sandbox.cuda
as
cuda
import
theano.sandbox.cuda
as
cuda
...
...
theano/sandbox/test_scan.py
浏览文件 @
0162c1d9
import
theano
import
theano
import
numpy
import
numpy
import
scan
from
.
import
scan
def
test_001
():
def
test_001
():
...
...
theano/sandbox/test_theano_object.py
浏览文件 @
0162c1d9
from
__future__
import
print_function
from
__future__
import
print_function
from
theano_object
import
*
from
.
theano_object
import
*
RUN_TESTS
=
False
RUN_TESTS
=
False
...
...
theano/scalar/__init__.py
浏览文件 @
0162c1d9
from
basic
import
*
from
.
basic
import
*
from
basic_scipy
import
*
from
.
basic_scipy
import
*
theano/scalar/sharedvar.py
浏览文件 @
0162c1d9
...
@@ -23,7 +23,7 @@ __docformat__ = "restructuredtext en"
...
@@ -23,7 +23,7 @@ __docformat__ = "restructuredtext en"
import
numpy
import
numpy
from
theano.compile
import
SharedVariable
from
theano.compile
import
SharedVariable
from
basic
import
Scalar
,
_scalar_py_operators
from
.
basic
import
Scalar
,
_scalar_py_operators
class
ScalarSharedVariable
(
_scalar_py_operators
,
SharedVariable
):
class
ScalarSharedVariable
(
_scalar_py_operators
,
SharedVariable
):
...
...
theano/scan_module/scan_op.py
浏览文件 @
0162c1d9
...
@@ -804,7 +804,7 @@ class Scan(PureOp):
...
@@ -804,7 +804,7 @@ class Scan(PureOp):
cython_destroy_map
=
[
0
for
x
in
xrange
(
len
(
node
.
outputs
))]
cython_destroy_map
=
[
0
for
x
in
xrange
(
len
(
node
.
outputs
))]
cython_destroy_map
=
numpy
.
asarray
(
cython_destroy_map
,
cython_destroy_map
=
numpy
.
asarray
(
cython_destroy_map
,
dtype
=
'int32'
)
dtype
=
'int32'
)
import
scan_perform_ext
from
.
import
scan_perform_ext
p
=
lambda
node
,
args
,
outs
:
\
p
=
lambda
node
,
args
,
outs
:
\
scan_perform_ext
.
perform
(
scan_perform_ext
.
perform
(
self
.
n_shared_outs
,
self
.
n_shared_outs
,
...
...
theano/scan_module/scan_perform_ext.py
浏览文件 @
0162c1d9
...
@@ -11,6 +11,7 @@ from theano import config
...
@@ -11,6 +11,7 @@ from theano import config
from
theano.compat
import
reload
from
theano.compat
import
reload
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof.compilelock
import
get_lock
,
release_lock
from
theano.gof
import
cmodule
from
theano.gof
import
cmodule
import
imp
_logger
=
logging
.
getLogger
(
'theano.scan_module.scan_perform'
)
_logger
=
logging
.
getLogger
(
'theano.scan_module.scan_perform'
)
...
@@ -30,7 +31,7 @@ def try_import():
...
@@ -30,7 +31,7 @@ def try_import():
def
try_reload
():
def
try_reload
():
sys
.
path
[
0
:
0
]
=
[
config
.
compiledir
]
sys
.
path
[
0
:
0
]
=
[
config
.
compiledir
]
reload
(
scan_perform
)
imp
.
reload
(
scan_perform
)
del
sys
.
path
[
0
]
del
sys
.
path
[
0
]
try
:
try
:
...
...
theano/tensor/inplace.py
浏览文件 @
0162c1d9
from
theano
import
scalar
as
scal
from
theano
import
scalar
as
scal
import
elemwise
from
.
import
elemwise
from
theano
import
printing
from
theano
import
printing
from
theano.printing
import
pprint
from
theano.printing
import
pprint
...
...
theano/tensor/nnet/Conv3D.py
浏览文件 @
0162c1d9
...
@@ -623,5 +623,5 @@ def computeH(V, W, b, d):
...
@@ -623,5 +623,5 @@ def computeH(V, W, b, d):
return
H
return
H
import
ConvGrad3D
from
.
import
ConvGrad3D
import
ConvTransp3D
from
.
import
ConvTransp3D
theano/tensor/nnet/__init__.py
浏览文件 @
0162c1d9
from
nnet
import
*
from
.
nnet
import
*
from
conv
import
conv2d
,
ConvOp
from
.
conv
import
conv2d
,
ConvOp
from
Conv3D
import
*
from
.
Conv3D
import
*
from
ConvGrad3D
import
*
from
.
ConvGrad3D
import
*
from
ConvTransp3D
import
*
from
.
ConvTransp3D
import
*
from
sigm
import
(
softplus
,
sigmoid
,
sigmoid_inplace
,
from
.
sigm
import
(
softplus
,
sigmoid
,
sigmoid_inplace
,
scalar_sigmoid
,
ultra_fast_sigmoid
,
scalar_sigmoid
,
ultra_fast_sigmoid
,
hard_sigmoid
)
hard_sigmoid
)
theano/tensor/tests/test_blas.py
浏览文件 @
0162c1d9
...
@@ -20,7 +20,7 @@ from theano.tensor.blas import (_dot22, _dot22scalar, res_is_a, _as_scalar,
...
@@ -20,7 +20,7 @@ from theano.tensor.blas import (_dot22, _dot22scalar, res_is_a, _as_scalar,
gemm_inplace
,
gemm_no_inplace
,
gemm_inplace
,
gemm_no_inplace
,
InconsistencyError
,
Ger
,
ger
,
ger_destructive
)
InconsistencyError
,
Ger
,
ger
,
ger_destructive
)
from
theano.tests
import
unittest_tools
from
theano.tests
import
unittest_tools
from
test_basic
import
(
as_tensor_variable
,
inplace_func
,
from
.
test_basic
import
(
as_tensor_variable
,
inplace_func
,
compile
,
inplace
)
compile
,
inplace
)
import
theano.tensor.blas_scipy
import
theano.tensor.blas_scipy
...
...
theano/tensor/tests/test_blas_scipy.py
浏览文件 @
0162c1d9
...
@@ -4,7 +4,7 @@ import theano
...
@@ -4,7 +4,7 @@ import theano
import
theano.tensor
as
tensor
import
theano.tensor
as
tensor
from
theano.tensor.blas_scipy
import
ScipyGer
from
theano.tensor.blas_scipy
import
ScipyGer
from
test_blas
import
TestCase
,
gemm_no_inplace
,
TestBlasStrides
from
.
test_blas
import
TestCase
,
gemm_no_inplace
,
TestBlasStrides
from
theano.tests.unittest_tools
import
TestOptimizationMixin
from
theano.tests.unittest_tools
import
TestOptimizationMixin
...
...
theano/tensor/tests/test_xlogx.py
浏览文件 @
0162c1d9
...
@@ -4,7 +4,7 @@ import unittest
...
@@ -4,7 +4,7 @@ import unittest
import
theano
import
theano
from
theano.tensor
import
as_tensor_variable
from
theano.tensor
import
as_tensor_variable
import
test_basic
as
TT
from
.
import
test_basic
as
TT
import
random
import
random
import
numpy.random
import
numpy.random
...
...
theano/typed_list/__init__.py
浏览文件 @
0162c1d9
from
type
import
TypedListType
from
.
type
import
TypedListType
from
basic
import
*
from
.
basic
import
*
import
opt
from
.
import
opt
theano/typed_list/basic.py
浏览文件 @
0162c1d9
...
@@ -2,7 +2,7 @@ import copy
...
@@ -2,7 +2,7 @@ import copy
import
numpy
import
numpy
from
type
import
TypedListType
from
.
type
import
TypedListType
import
theano
import
theano
from
theano.gof
import
Apply
,
Constant
,
Op
,
Variable
from
theano.gof
import
Apply
,
Constant
,
Op
,
Variable
from
theano.tensor.type_other
import
SliceType
from
theano.tensor.type_other
import
SliceType
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论