Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
6598eb82
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
331
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6598eb82
编写于
11月 14, 2018
作者:
Y
yangfei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add cl kernel for mobilenetssd
上级
aee4ffcf
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
68 addition
and
73 deletion
+68
-73
src/operators/kernel/cl/box_coder_kernel.cpp
src/operators/kernel/cl/box_coder_kernel.cpp
+9
-9
src/operators/kernel/cl/concat_kernel.cpp
src/operators/kernel/cl/concat_kernel.cpp
+8
-10
src/operators/kernel/cl/conv_bn_relu_kernel.cpp
src/operators/kernel/cl/conv_bn_relu_kernel.cpp
+11
-12
src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp
src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp
+11
-12
src/operators/kernel/cl/multiclass_nms_kernel.cpp
src/operators/kernel/cl/multiclass_nms_kernel.cpp
+10
-10
src/operators/kernel/cl/prior_box_kernel.cpp
src/operators/kernel/cl/prior_box_kernel.cpp
+10
-11
src/operators/kernel/cl/transpose_kernel.cpp
src/operators/kernel/cl/transpose_kernel.cpp
+9
-9
未找到文件。
src/operators/kernel/cl/box_coder_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,18 +17,18 @@ limitations under the License. */
...
@@ -17,18 +17,18 @@ limitations under the License. */
#include "operators/kernel/box_coder_kernel.h"
#include "operators/kernel/box_coder_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
template
<
>
bool
BoxCoderKernel
<
GPU_CL
,
float
>::
Init
(
BoxCoderParam
<
GPU_CL
>
*
param
)
{
bool
BoxCoderKernel
<
GPU_CL
,
float
>::
Init
(
BoxCoderParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
BoxCoderKernel
<
GPU_CL
,
float
>::
Compute
(
const
BoxCoderParam
<
GPU_CL
>
&
param
)
{
void
BoxCoderKernel
<
GPU_CL
,
float
>::
Compute
(
}
const
BoxCoderParam
<
GPU_CL
>
&
param
)
{
}
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/concat_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,19 +17,17 @@ limitations under the License. */
...
@@ -17,19 +17,17 @@ limitations under the License. */
#include "operators/kernel/concat_kernel.h"
#include "operators/kernel/concat_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
template
<
>
bool
ConcatKernel
<
GPU_CL
,
float
>::
Init
(
ConcatParam
<
GPU_CL
>
*
param
)
{
bool
ConcatKernel
<
GPU_CL
,
float
>::
Init
(
ConcatParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
ConcatKernel
<
GPU_CL
,
float
>::
Compute
(
const
ConcatParam
<
GPU_CL
>
&
param
)
{
void
ConcatKernel
<
GPU_CL
,
float
>::
Compute
(
const
ConcatParam
<
GPU_CL
>
&
param
)
{}
}
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/conv_bn_relu_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,21 +17,20 @@ limitations under the License. */
...
@@ -17,21 +17,20 @@ limitations under the License. */
#include "operators/kernel/conv_bn_relu_kernel.h"
#include "operators/kernel/conv_bn_relu_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
bool
ConvBNReluKernel
<
GPU_CL
,
float
>::
Init
(
FusionConvBNReluParam
<
GPU_CL
>
*
param
)
{
template
<
>
bool
ConvBNReluKernel
<
GPU_CL
,
float
>::
Init
(
FusionConvBNReluParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
ConvBNReluKernel
<
GPU_CL
,
float
>::
Compute
(
void
ConvBNReluKernel
<
GPU_CL
,
float
>::
Compute
(
const
FusionConvBNReluParam
<
GPU_CL
>
&
param
)
{
const
FusionConvBNReluParam
<
GPU_CL
>
&
param
)
{}
}
template
class
ConvBNReluKernel
<
GPU_CL
,
float
>;
template
class
ConvBNReluKernel
<
GPU_CL
,
float
>;
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/dwconv_bn_relu_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,21 +17,20 @@ limitations under the License. */
...
@@ -17,21 +17,20 @@ limitations under the License. */
#include "operators/kernel/dwconv_bn_relu_kernel.h"
#include "operators/kernel/dwconv_bn_relu_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
bool
DWConvBNReluKernel
<
GPU_CL
,
float
>::
Init
(
FusionDWConvBNReluParam
<
GPU_CL
>
*
param
)
{
template
<
>
bool
DWConvBNReluKernel
<
GPU_CL
,
float
>::
Init
(
FusionDWConvBNReluParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
DWConvBNReluKernel
<
GPU_CL
,
float
>::
Compute
(
void
DWConvBNReluKernel
<
GPU_CL
,
float
>::
Compute
(
const
FusionDWConvBNReluParam
<
GPU_CL
>
&
param
)
{
const
FusionDWConvBNReluParam
<
GPU_CL
>
&
param
)
{}
}
template
class
DWConvBNReluKernel
<
GPU_CL
,
float
>;
template
class
DWConvBNReluKernel
<
GPU_CL
,
float
>;
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/multiclass_nms_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,19 +17,19 @@ limitations under the License. */
...
@@ -17,19 +17,19 @@ limitations under the License. */
#include "operators/kernel/multiclass_nms_kernel.h"
#include "operators/kernel/multiclass_nms_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
template
<
>
bool
MultiClassNMSKernel
<
GPU_CL
,
float
>::
Init
(
MultiClassNMSParam
<
GPU_CL
>
*
param
)
{
bool
MultiClassNMSKernel
<
GPU_CL
,
float
>::
Init
(
MultiClassNMSParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
MultiClassNMSKernel
<
GPU_CL
,
float
>::
Compute
(
void
MultiClassNMSKernel
<
GPU_CL
,
float
>::
Compute
(
const
MultiClassNMSParam
<
GPU_CL
>
&
param
)
{
const
MultiClassNMSParam
<
GPU_CL
>
&
param
)
{}
}
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/prior_box_kernel.cpp
浏览文件 @
6598eb82
...
@@ -17,20 +17,19 @@ limitations under the License. */
...
@@ -17,20 +17,19 @@ limitations under the License. */
#include "operators/kernel/prior_box_kernel.h"
#include "operators/kernel/prior_box_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
template
<
>
bool
PriorBoxKernel
<
GPU_CL
,
float
>::
Init
(
PriorBoxParam
<
GPU_CL
>
*
param
)
{
bool
PriorBoxKernel
<
GPU_CL
,
float
>::
Init
(
PriorBoxParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
PriorBoxKernel
<
GPU_CL
,
float
>::
Compute
(
const
PriorBoxParam
<
GPU_CL
>
&
param
)
{
void
PriorBoxKernel
<
GPU_CL
,
float
>::
Compute
(
const
PriorBoxParam
<
GPU_CL
>
&
param
)
{}
template
class
PriorBoxKernel
<
GPU_CL
,
float
>;
}
}
// namespace operators
template
class
PriorBoxKernel
<
GPU_CL
,
float
>;
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
src/operators/kernel/cl/transpose_kernel.cpp
浏览文件 @
6598eb82
...
@@ -16,18 +16,18 @@ limitations under the License. */
...
@@ -16,18 +16,18 @@ limitations under the License. */
#include "operators/kernel/transpose_kernel.h"
#include "operators/kernel/transpose_kernel.h"
namespace
paddle_mobile
{
namespace
paddle_mobile
{
namespace
operators
{
namespace
operators
{
template
<
>
template
<
>
bool
TransposeKernel
<
GPU_CL
,
float
>::
Init
(
TransposeParam
<
GPU_CL
>
*
param
)
{
bool
TransposeKernel
<
GPU_CL
,
float
>::
Init
(
TransposeParam
<
GPU_CL
>
*
param
)
{
return
true
;
return
true
;
}
}
template
<
>
template
<
>
void
TransposeKernel
<
GPU_CL
,
float
>::
Compute
(
const
TransposeParam
<
GPU_CL
>
&
param
)
{
void
TransposeKernel
<
GPU_CL
,
float
>::
Compute
(
}
const
TransposeParam
<
GPU_CL
>
&
param
)
{
}
}
// namespace operators
}
// namespace operators
}
// namespace paddle_mobile
}
// namespace paddle_mobile
#endif
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录