Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
a2afb9dd
提交
a2afb9dd
authored
1月 30, 2014
作者:
Frederic
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Port typo fix from gpuarray files by Olivier D. to the old back-end.
上级
111400e4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
blas.py
theano/sandbox/cuda/blas.py
+4
-4
conv.cu
theano/sandbox/cuda/conv.cu
+1
-1
conv_kernel.cu
theano/sandbox/cuda/conv_kernel.cu
+1
-1
没有找到文件。
theano/sandbox/cuda/blas.py
浏览文件 @
a2afb9dd
...
...
@@ -523,21 +523,21 @@ class GpuConv(GpuOp):
imshp
=
None
,
max_threads_dim0
=
None
):
"""
:param version: each version of c_code implement many kernel for the
:param version: each version of c_code implement
s
many kernel for the
convolution. By default we try to guess the best one.
You can force one version with this parameter. This
parameter is used by the tests.
:param verbose: for value of 1,2 and 3. Print more information during
the execution of the convolution. Mostly used for
optimization or debugging.
:param kshp: The size of the kernel. If provided, can genera
:param kshp: The size of the kernel. If provided, can genera
te
faster code. If the GpuConv op is automatically
inserted,
we take its value automatically from the Conv op.
:param imshp: The size of the image. Not used for code generation but
allow to select an experimental new version in another
allow
s
to select an experimental new version in another
repo.
:param max_threads_dim0: The maximum number of thread for the
:param max_threads_dim0: The maximum number of thread
s
for the
block size dimensions 0 (blockDim.x) used by the
GPU function.
...
...
theano/sandbox/cuda/conv.cu
浏览文件 @
a2afb9dd
// REMEMBER TO
RAI
SE c_code_cache_version when changing this file
// REMEMBER TO
INCREA
SE c_code_cache_version when changing this file
//
enum
{
ConvMode_FULL
,
ConvMode_VALID
};
PyObject
*
CudaNdarray_Conv
(
CudaNdarray
*
img
,
CudaNdarray
*
kern
,
CudaNdarray
*
out
,
const
int
mode
,
const
int
subsample_rows
,
const
int
subsample_cols
,
const
int
version
,
const
int
verbose
);
...
...
theano/sandbox/cuda/conv_kernel.cu
浏览文件 @
a2afb9dd
// REMEMBER TO
RAI
SE c_code_cache_version when changing this file
// REMEMBER TO
INCREA
SE c_code_cache_version when changing this file
//
//implement the valid convolution only
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论