Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
f7c304cd
提交
f7c304cd
authored
3月 20, 2012
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Import any, all from python25 where needed.
上级
1ef98f47
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
9 行增加
和
1 行删除
+9
-1
rng_curand.py
theano/sandbox/cuda/rng_curand.py
+1
-1
test_basic_ops.py
theano/sandbox/cuda/tests/test_basic_ops.py
+1
-0
test_blas.py
theano/sandbox/cuda/tests/test_blas.py
+1
-0
test_cuda_ndarray.py
theano/sandbox/cuda/tests/test_cuda_ndarray.py
+1
-0
test_driver.py
theano/sandbox/cuda/tests/test_driver.py
+1
-0
test_nnet.py
theano/sandbox/cuda/tests/test_nnet.py
+1
-0
multinomial.py
theano/sandbox/multinomial.py
+1
-0
test_multinomial.py
theano/sandbox/test_multinomial.py
+1
-0
test_neighbours.py
theano/sandbox/test_neighbours.py
+1
-0
没有找到文件。
theano/sandbox/cuda/rng_curand.py
浏览文件 @
f7c304cd
...
...
@@ -7,9 +7,9 @@ __copyright__ = "(c) 2011, University of Montreal"
__license__
=
"3-clause BSD License"
__contact__
=
"theano-dev@googlegroups.com"
import
sys
import
numpy
import
theano.gof
from
theano.gof.python25
import
all
from
theano.sandbox.cuda
import
CudaNdarrayType
,
GpuOp
from
theano.tensor
import
(
get_vector_length
,
cast
,
opt
)
from
theano.compile
import
optdb
...
...
theano/sandbox/cuda/tests/test_basic_ops.py
浏览文件 @
f7c304cd
...
...
@@ -13,6 +13,7 @@ import theano.sandbox.cuda as cuda_ndarray
if
cuda_ndarray
.
cuda_available
==
False
:
raise
SkipTest
(
'Optional package cuda disabled'
)
from
theano.gof.python25
import
any
import
theano.sandbox.cuda
as
tcn
import
theano.sandbox.cuda
as
cuda
import
theano.sandbox.cuda.basic_ops
as
B
...
...
theano/sandbox/cuda/tests/test_blas.py
浏览文件 @
f7c304cd
...
...
@@ -16,6 +16,7 @@ import theano.sandbox.cuda as tcn
from
theano.tensor.signal.downsample
import
(
DownsampleFactorMax
,
DownsampleFactorMaxGrad
)
from
theano.gof.python25
import
any
import
theano.compile.mode
from
theano.tensor.tests.test_blas
import
BaseGemv
,
TestBlasStrides
,
TestGer
...
...
theano/sandbox/cuda/tests/test_cuda_ndarray.py
浏览文件 @
f7c304cd
...
...
@@ -5,6 +5,7 @@ from nose.plugins.skip import SkipTest
import
numpy
import
theano
from
theano.gof.python25
import
all
import
theano.sandbox.cuda
as
cuda_ndarray
from
theano.tensor.basic
import
_allclose
from
theano.tests
import
unittest_tools
as
utt
...
...
theano/sandbox/cuda/tests/test_driver.py
浏览文件 @
f7c304cd
...
...
@@ -7,6 +7,7 @@ import theano.sandbox.cuda as cuda_ndarray
if
cuda_ndarray
.
cuda_available
==
False
:
raise
SkipTest
(
'Optional package cuda disabled'
)
from
theano.gof.python25
import
any
import
theano.sandbox.cuda
as
cuda
import
theano.sandbox.cuda.basic_ops
as
B
...
...
theano/sandbox/cuda/tests/test_nnet.py
浏览文件 @
f7c304cd
...
...
@@ -2,6 +2,7 @@ from nose.plugins.skip import SkipTest
import
numpy
import
theano
from
theano.gof.python25
import
any
import
theano.tensor
as
T
import
theano.tests.unittest_tools
as
utt
...
...
theano/sandbox/multinomial.py
浏览文件 @
f7c304cd
...
...
@@ -2,6 +2,7 @@ import theano
from
theano
import
Op
,
Apply
import
theano.tensor
as
T
from
theano.gof
import
local_optimizer
from
theano.gof.python25
import
any
from
theano.sandbox.cuda
import
cuda_available
,
GpuOp
if
cuda_available
:
...
...
theano/sandbox/test_multinomial.py
浏览文件 @
f7c304cd
...
...
@@ -6,6 +6,7 @@ import theano
from
theano
import
config
,
function
,
tensor
import
multinomial
from
theano.compile.mode
import
get_default_mode
,
predefined_linkers
from
theano.gof.python25
import
any
import
theano.sandbox.cuda
as
cuda
def
get_mode
(
gpu
):
...
...
theano/sandbox/test_neighbours.py
浏览文件 @
f7c304cd
...
...
@@ -7,6 +7,7 @@ from neighbours import (images2neibs, neibs2images,
# Skip test if cuda_ndarray is not available.
from
nose.plugins.skip
import
SkipTest
import
theano.sandbox.cuda
as
cuda
from
theano.gof.python25
import
any
from
theano.tests
import
unittest_tools
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论