Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
24648eee
提交
24648eee
authored
2月 04, 2016
作者:
Ramana.S
提交者:
sentient07
3月 23, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
removed duplicates
上级
997e70a4
隐藏空白字符变更
内嵌
并排
正在显示
55 个修改的文件
包含
24 行增加
和
69 行删除
+24
-69
aa.py
benchmark/autoencoder/aa.py
+1
-3
aa_numpy.py
benchmark/autoencoder/aa_numpy.py
+1
-3
conv2d.py
benchmark/convolution/conv2d.py
+0
-1
opencv.py
benchmark/convolution/opencv.py
+0
-1
scipy_conv.py
benchmark/convolution/scipy_conv.py
+0
-1
gen_graph.py
benchmark/numexpr/gen_graph.py
+0
-1
regression.py
benchmark/regression/regression.py
+0
-1
conf.py
doc/conf.py
+3
-1
ifelse_switch.py
doc/crei2013/ifelse_switch.py
+0
-1
logreg.py
doc/crei2013/logreg.py
+0
-1
scan_poly.py
doc/crei2013/scan_poly.py
+0
-1
scan_pow.py
doc/crei2013/scan_pow.py
+0
-1
extending_theano_solution_1.py
doc/extending/extending_theano_solution_1.py
+2
-1
generate_dtype_tensor_table.py
doc/generate_dtype_tensor_table.py
+0
-1
double_op.py
doc/hpcs2011_tutorial/double_op.py
+0
-1
logreg_example.py
doc/hpcs2011_tutorial/logreg_example.py
+0
-1
pycuda_double_op.py
doc/hpcs2011_tutorial/pycuda_double_op.py
+0
-1
pycuda_simple.py
doc/hpcs2011_tutorial/pycuda_simple.py
+0
-1
scan_poly.py
doc/hpcs2011_tutorial/scan_poly.py
+0
-1
scan_pow.py
doc/hpcs2011_tutorial/scan_pow.py
+0
-1
simple_example.py
doc/hpcs2011_tutorial/simple_example.py
+0
-1
logreg.py
doc/omlw2014/logreg.py
+0
-1
docgen.py
doc/scripts/docgen.py
+0
-2
adding_solution_1.py
doc/tutorial/adding_solution_1.py
+1
-2
loop_solution_1.py
doc/tutorial/loop_solution_1.py
+1
-2
modes_solution_1.py
doc/tutorial/modes_solution_1.py
+1
-2
using_gpu_solution_1.py
doc/tutorial/using_gpu_solution_1.py
+1
-2
setup.py
setup.py
+1
-1
pfunc.py
theano/compile/pfunc.py
+0
-1
profiling.py
theano/compile/profiling.py
+3
-1
reindent.py
theano/misc/hooks/reindent.py
+2
-1
test_basic_ops.py
theano/sandbox/cuda/tests/test_basic_ops.py
+0
-1
test_bench_loopfusion.py
theano/sandbox/cuda/tests/test_bench_loopfusion.py
+1
-2
test_conv_cuda_ndarray.py
theano/sandbox/cuda/tests/test_conv_cuda_ndarray.py
+1
-2
test_cuda_ndarray.py
theano/sandbox/cuda/tests/test_cuda_ndarray.py
+0
-1
test_extra_ops.py
theano/sandbox/cuda/tests/test_extra_ops.py
+1
-1
test_memory.py
theano/sandbox/cuda/tests/test_memory.py
+0
-1
test_mlp.py
theano/sandbox/cuda/tests/test_mlp.py
+0
-1
test_neighbours.py
theano/sandbox/cuda/tests/test_neighbours.py
+1
-1
test_nnet.py
theano/sandbox/cuda/tests/test_nnet.py
+0
-1
test_opt.py
theano/sandbox/cuda/tests/test_opt.py
+0
-1
test_rng_curand.py
theano/sandbox/cuda/tests/test_rng_curand.py
+0
-1
test_tensor_op.py
theano/sandbox/cuda/tests/test_tensor_op.py
+1
-1
fourier.py
theano/sandbox/fourier.py
+2
-1
speed_test_conv.py
theano/tensor/nnet/tests/speed_test_conv.py
+0
-1
test_bn.py
theano/tensor/nnet/tests/test_bn.py
+0
-2
test_conv.py
theano/tensor/nnet/tests/test_conv.py
+0
-1
test_conv3d.py
theano/tensor/nnet/tests/test_conv3d.py
+0
-1
test_conv3d2d.py
theano/tensor/nnet/tests/test_conv3d2d.py
+0
-2
test_corr.py
theano/tensor/nnet/tests/test_corr.py
+0
-1
test_neighbours.py
theano/tensor/nnet/tests/test_neighbours.py
+0
-1
test_nnet.py
theano/tensor/nnet/tests/test_nnet.py
+0
-2
test_opt.py
theano/tensor/nnet/tests/test_opt.py
+0
-1
test_sigm.py
theano/tensor/nnet/tests/test_sigm.py
+0
-1
opt.py
theano/tensor/opt.py
+0
-1
没有找到文件。
benchmark/autoencoder/aa.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
from
__future__
import
print_function
from
__future__
import
absolute_import
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
import
sys
import
time
...
...
benchmark/autoencoder/aa_numpy.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
from
__future__
import
print_function
from
__future__
import
absolute_import
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
as
N
import
sys
import
time
...
...
benchmark/convolution/conv2d.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
sys
,
timeit
,
time
import
numpy
import
theano
,
theano
.
tensor
.
signal
.
conv
...
...
benchmark/convolution/opencv.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
sys
,
timeit
import
numpy
import
scikits.image.opencv
...
...
benchmark/convolution/scipy_conv.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
sys
,
timeit
try
:
img_shape
=
int
(
sys
.
argv
[
1
]),
int
(
sys
.
argv
[
2
])
...
...
benchmark/numexpr/gen_graph.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
as
np
import
numexpr
as
ne
import
timeit
...
...
benchmark/regression/regression.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
theano
import
numpy
as
N
from
theano
import
tensor
as
T
...
...
doc/conf.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
# -*- coding: utf-8 -*-
#
# theano documentation build configuration file, created by
...
...
@@ -18,6 +17,9 @@ from __future__ import absolute_import, print_function, division
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
#sys.path.append(os.path.abspath('some/directory'))
from
__future__
import
absolute_import
,
print_function
,
division
import
os
import
sys
theano_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
pardir
)
...
...
doc/crei2013/ifelse_switch.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
time
import
numpy
...
...
doc/crei2013/logreg.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
import
theano.tensor
as
tt
...
...
doc/crei2013/scan_poly.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
...
...
doc/crei2013/scan_pow.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
theano
import
theano.tensor
as
tt
from
six.moves
import
xrange
...
...
doc/extending/extending_theano_solution_1.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
# Theano tutorial
# Solution to Exercise in section 'Extending Theano'
from
__future__
import
absolute_import
,
print_function
,
division
import
unittest
import
theano
...
...
doc/generate_dtype_tensor_table.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
letters
=
[
(
'b'
,
'int8'
),
...
...
doc/hpcs2011_tutorial/double_op.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
...
...
doc/hpcs2011_tutorial/logreg_example.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
import
theano.tensor
as
T
...
...
doc/hpcs2011_tutorial/pycuda_double_op.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
,
theano
import
theano.misc.pycuda_init
from
pycuda.compiler
import
SourceModule
...
...
doc/hpcs2011_tutorial/pycuda_simple.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
pycuda.autoinit
import
pycuda.driver
as
drv
import
numpy
...
...
doc/hpcs2011_tutorial/scan_poly.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
...
...
doc/hpcs2011_tutorial/scan_pow.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
theano
import
theano.tensor
as
T
from
six.moves
import
xrange
...
...
doc/hpcs2011_tutorial/simple_example.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
theano
a
=
theano
.
tensor
.
vector
(
"a"
)
# declare variable
b
=
a
+
a
**
10
# build symbolic expression
...
...
doc/omlw2014/logreg.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
import
theano.tensor
as
tt
...
...
doc/scripts/docgen.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
sys
import
os
import
shutil
...
...
doc/tutorial/adding_solution_1.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
# Theano tutorial
# Solution to Exercise in section 'Baby Steps - Algebra'
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
import
theano
a
=
theano
.
tensor
.
vector
()
# declare variable
b
=
theano
.
tensor
.
vector
()
# declare variable
...
...
doc/tutorial/loop_solution_1.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
# Theano tutorial
# Solution to Exercise in section 'Loop'
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
import
numpy
import
theano
...
...
doc/tutorial/modes_solution_1.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
# Theano tutorial
# Solution to Exercise in section 'Configuration Settings and Compiling Modes'
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
import
numpy
import
theano
import
theano.tensor
as
tt
...
...
doc/tutorial/using_gpu_solution_1.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
# Theano tutorial
# Solution to Exercise in section 'Using the GPU'
...
...
@@ -7,7 +6,7 @@ from __future__ import absolute_import, print_function, division
# 1. Raw results
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
import
numpy
import
theano
import
theano.tensor
as
tt
...
...
setup.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#!/usr/bin/env python
#
# TODO:
# * Figure out how to compile and install documentation automatically
# * Add download_url
from
__future__
import
absolute_import
,
print_function
,
division
import
os
import
subprocess
import
codecs
...
...
theano/compile/pfunc.py
浏览文件 @
24648eee
...
...
@@ -8,7 +8,6 @@ import warnings
from
theano
import
config
from
six
import
iteritems
from
theano
import
config
from
theano.compile
import
orig_function
,
In
,
Out
from
theano.compile
import
UnusedInputError
from
theano.compile.sharedvalue
import
SharedVariable
,
shared
...
...
theano/compile/profiling.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
"""
ProfileStats object for runtime and memory profiling.
...
...
@@ -10,6 +9,8 @@ ProfileStats object for runtime and memory profiling.
# TODO: ensure field width for string fields makes columns line up
# TODO: what to do about 'diff summary'? (ask Fred?)
#
from
__future__
import
absolute_import
,
print_function
,
division
__authors__
=
"James Bergstra"
__reviewer__
=
"Razvan Pascanu"
__copyright__
=
"(c) 2011, Universite de Montreal"
...
...
@@ -17,6 +18,7 @@ __license__ = "3-clause BSD License"
__contact__
=
"theano-dev <theano-dev@googlegroups.com>"
__docformat__
=
"restructuredtext en"
import
atexit
import
copy
import
os
...
...
theano/misc/hooks/reindent.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
#! /usr/bin/env python
# Released to the public domain, by Tim Peters, 03 October 2000.
...
...
@@ -40,6 +39,8 @@ user/group and permissions could leave the backup file more readable that
you'd prefer. You can always use the --nobackup option to prevent this.
"""
from
__future__
import
absolute_import
,
print_function
,
division
__version__
=
"1"
import
tokenize
...
...
theano/sandbox/cuda/tests/test_basic_ops.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
time
import
unittest
...
...
theano/sandbox/cuda/tests/test_bench_loopfusion.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
"""
This file is based on hpu.nns.driver_kouh of Oct 22 2009.
It is meant to be used to benchmark loop fusion optimizations.
"""
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
# this experiments are designed to use file-based configuration
# rather than db-based configuration.
# so state is ignored
...
...
theano/sandbox/cuda/tests/test_conv_cuda_ndarray.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
"""
Tests for GPU convolution
"""
from
__future__
import
print_funct
ion
from
__future__
import
absolute_import
,
print_function
,
divis
ion
import
sys
import
time
import
unittest
...
...
theano/sandbox/cuda/tests/test_cuda_ndarray.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
time
,
copy
,
sys
,
unittest
# Skip test if cuda_ndarray is not available.
from
nose.plugins.skip
import
SkipTest
...
...
theano/sandbox/cuda/tests/test_extra_ops.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
# Skip test if cuda_ndarray is not available.
from
__future__
import
absolute_import
,
print_function
,
division
import
itertools
from
nose.plugins.skip
import
SkipTest
...
...
theano/sandbox/cuda/tests/test_memory.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
copy
import
gc
...
...
theano/sandbox/cuda/tests/test_mlp.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
copy
import
logging
import
time
...
...
theano/sandbox/cuda/tests/test_neighbours.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
# Skip test if cuda_ndarray is not available.
from
__future__
import
absolute_import
,
print_function
,
division
from
nose.plugins.skip
import
SkipTest
import
theano.sandbox.cuda
as
cuda_ndarray
...
...
theano/sandbox/cuda/tests/test_nnet.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
from
nose.plugins.skip
import
SkipTest
import
numpy
import
unittest
...
...
theano/sandbox/cuda/tests/test_opt.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
operator
import
sys
import
unittest
...
...
theano/sandbox/cuda/tests/test_rng_curand.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
numpy
import
theano
from
theano.tensor
import
constant
...
...
theano/sandbox/cuda/tests/test_tensor_op.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
"""
This file test tensor op that should also operate on CudaNdaray.
"""
from
__future__
import
absolute_import
,
print_function
,
division
import
copy
from
nose.plugins.skip
import
SkipTest
...
...
theano/sandbox/fourier.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
"""
Provides Ops for FFT and DCT.
"""
from
__future__
import
absolute_import
,
print_function
,
division
import
numpy
import
numpy.fft
...
...
theano/tensor/nnet/tests/speed_test_conv.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
print_function
import
sys
,
time
,
unittest
import
numpy
...
...
theano/tensor/nnet/tests/test_bn.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
theano
from
theano.tests
import
unittest_tools
as
utt
...
...
theano/tensor/nnet/tests/test_conv.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
time
from
nose.plugins.skip
import
SkipTest
...
...
theano/tensor/nnet/tests/test_conv3d.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
unittest
import
theano
import
theano.tensor
as
T
...
...
theano/tensor/nnet/tests/test_conv3d2d.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
time
...
...
theano/tensor/nnet/tests/test_corr.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
from
nose.plugins.skip
import
SkipTest
from
nose.plugins.attrib
import
attr
...
...
theano/tensor/nnet/tests/test_neighbours.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
from
nose.plugins.skip
import
SkipTest
import
numpy
import
unittest
...
...
theano/tensor/nnet/tests/test_nnet.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
unittest
...
...
theano/tensor/nnet/tests/test_opt.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
theano
from
theano
import
tensor
from
theano.tensor.nnet.blocksparse
import
sparse_block_dot
...
...
theano/tensor/nnet/tests/test_sigm.py
浏览文件 @
24648eee
from
__future__
import
absolute_import
,
print_function
,
division
from
__future__
import
absolute_import
,
print_function
,
division
import
unittest
import
numpy
...
...
theano/tensor/opt.py
浏览文件 @
24648eee
...
...
@@ -2,7 +2,6 @@ from __future__ import absolute_import, print_function, division
"""
Tensor optimizations addressing the ops in basic.py.
"""
from
__future__
import
print_function
# TODO: intelligent merge for mul/add
# TODO: 0*x -> 0
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论