Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
94a6cd57
提交
94a6cd57
authored
3月 23, 2016
作者:
Gilles Louppe
提交者:
Pascal Lamblin
3月 29, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FIX: strip accents
上级
8021da1e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
7 行删除
+6
-7
corr3d_gemm.cu
theano/sandbox/cuda/corr3d_gemm.cu
+1
-1
corr_gemm.cu
theano/sandbox/cuda/corr_gemm.cu
+5
-6
没有找到文件。
theano/sandbox/cuda/corr3d_gemm.cu
浏览文件 @
94a6cd57
...
@@ -199,7 +199,7 @@ void col2im3d(const float* data_col, const int channels,
...
@@ -199,7 +199,7 @@ void col2im3d(const float* data_col, const int channels,
// Theano op code
// Theano op code
// Authors: Arjun Jain, Fr
édéric Bastien, Jan Schlü
ter, Nicolas Ballas
// Authors: Arjun Jain, Fr
ederic Bastien, Jan Schlu
ter, Nicolas Ballas
// Reference code: https://github.com/BVLC/caffe/blob/master/src/caffe/layers/conv_layer.cu
// Reference code: https://github.com/BVLC/caffe/blob/master/src/caffe/layers/conv_layer.cu
// and https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu
// and https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu
// Adaptation for 3d
// Adaptation for 3d
...
...
theano/sandbox/cuda/corr_gemm.cu
浏览文件 @
94a6cd57
...
@@ -6,13 +6,13 @@ Copyright (c) 2014, The Regents of the University of California (Regents)
...
@@ -6,13 +6,13 @@ Copyright (c) 2014, The Regents of the University of California (Regents)
All rights reserved.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
...
@@ -158,7 +158,7 @@ void col2im(const float* data_col, const int channels,
...
@@ -158,7 +158,7 @@ void col2im(const float* data_col, const int channels,
// Theano op code
// Theano op code
// Authors: Arjun Jain, Fr
édéric Bastien, Jan Schlü
ter
// Authors: Arjun Jain, Fr
ederic Bastien, Jan Schlu
ter
// Reference code: https://github.com/BVLC/caffe/blob/master/src/caffe/layers/conv_layer.cu
// Reference code: https://github.com/BVLC/caffe/blob/master/src/caffe/layers/conv_layer.cu
// and https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu
// and https://github.com/torch/cunn/blob/master/SpatialConvolutionMM.cu
CudaNdarray* corrMM(CudaNdarray *const bottom,
CudaNdarray* corrMM(CudaNdarray *const bottom,
...
@@ -186,7 +186,7 @@ CudaNdarray* corrMM(CudaNdarray *const bottom,
...
@@ -186,7 +186,7 @@ CudaNdarray* corrMM(CudaNdarray *const bottom,
CudaNdarray_HOST_STRIDES(bottom)[3]);
CudaNdarray_HOST_STRIDES(bottom)[3]);
return NULL;
return NULL;
}
}
if (weight->nd != 4)
if (weight->nd != 4)
{
{
PyErr_SetString(PyExc_ValueError, "GpuCorrMM requires weight of 4D");
PyErr_SetString(PyExc_ValueError, "GpuCorrMM requires weight of 4D");
...
@@ -485,4 +485,3 @@ CudaNdarray* corrMM(CudaNdarray *const bottom,
...
@@ -485,4 +485,3 @@ CudaNdarray* corrMM(CudaNdarray *const bottom,
// in here output is just aliased to one of bottom, weights, or top.
// in here output is just aliased to one of bottom, weights, or top.
return output;
return output;
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论