Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
968cd00a
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
332
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看板
提交
968cd00a
编写于
6月 15, 2018
作者:
E
eclipsess
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change some file
上级
ee536572
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
114 addition
and
117 deletion
+114
-117
src/operators/kernel/arm/depthwise_conv_kernel.cpp
src/operators/kernel/arm/depthwise_conv_kernel.cpp
+1
-1
test/CMakeLists.txt
test/CMakeLists.txt
+109
-109
tools/run.sh
tools/run.sh
+4
-7
未找到文件。
src/operators/kernel/arm/depthwise_conv_kernel.cpp
浏览文件 @
968cd00a
...
...
@@ -22,7 +22,7 @@ namespace operators {
template
<
>
void
DepthwiseConvKernel
<
CPU
,
float
>::
Compute
(
const
ConvParam
&
param
)
const
{
//
LOG(kLOG_DEBUG) << param;
LOG
(
kLOG_DEBUG
)
<<
param
;
const
Tensor
*
input
=
param
.
Input
();
Tensor
filter
=
*
param
.
Filter
();
...
...
test/CMakeLists.txt
浏览文件 @
968cd00a
...
...
@@ -22,119 +22,119 @@ elseif(resnet)
ADD_EXECUTABLE
(
test-resnet net/test_resnet.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-resnet paddle-mobile
)
else
()
#
#
# gen test
#
ADD_EXECUTABLE(test-resnet net/test_resnet.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-resnet paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-squeezenet net/test_squeezenet.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-squeezenet paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-yolo net/test_yolo.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-yolo paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-googlenet net/test_googlenet.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-googlenet paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-conv-op operators/test_cov_op.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-conv-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-mul-op operators/test_mul_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-mul-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-elementwiseadd-op operators/test_elementwise_add_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-elementwiseadd-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-concat-op operators/test_concat_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-concat-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-lrn-op operators/test_lrn_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-lrn-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-batchnorm-op operators/test_batchnorm_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-batchnorm-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-priorbox-op operators/test_prior_box_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-priorbox-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-boxcoder-op operators/test_box_coder_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-boxcoder-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-transpose-op operators/test_transpose_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-transpose-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-multiclassnms-op operators/test_multiclass_nms_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-multiclassnms-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-reshape-op operators/test_reshape_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-reshape-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-relu-op operators/test_relu_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-relu-op paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-fc-op operators/test_fushion_fc_op.cpp test_helper.h test_include.h)
#
target_link_libraries(test-fc-op paddle-mobile)
#
#
# gen test log
#
ADD_EXECUTABLE(test-log common/test_log.cpp)
#
target_link_libraries(test-log paddle-mobile)
#
#
# gen test log
#
ADD_EXECUTABLE(test-load framework/test_load.cpp)
#
target_link_libraries(test-load paddle-mobile)
#
#
# gen test log
#
# gen test
#
ADD_EXECUTABLE(test-optimize framework/test_optimize.cpp)
#
target_link_libraries(test-optimize paddle-mobile)
#
#
#
#gen test
#
ADD_EXECUTABLE(test-pool operators/test_pool_op.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-pool paddle-mobile)
#
#
#gen test
#
ADD_EXECUTABLE(test-softmax operators/test_softmax_op.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-softmax paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-gemm common/test_gemm.cpp)
#
target_link_libraries(test-gemm paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-enforce common/test_enforce.cpp)
#
target_link_libraries(test-enforce paddle-mobile)
#
#
# gen test - test if openmp works
#
ADD_EXECUTABLE(test-openmp common/test_openmp.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-openmp paddle-mobile)
# gen test
ADD_EXECUTABLE
(
test-resnet net/test_resnet.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-resnet paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-squeezenet net/test_squeezenet.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-squeezenet paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-yolo net/test_yolo.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-yolo paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-googlenet net/test_googlenet.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-googlenet paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-conv-op operators/test_cov_op.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-conv-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-mul-op operators/test_mul_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-mul-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-elementwiseadd-op operators/test_elementwise_add_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-elementwiseadd-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-concat-op operators/test_concat_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-concat-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-lrn-op operators/test_lrn_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-lrn-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-batchnorm-op operators/test_batchnorm_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-batchnorm-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-priorbox-op operators/test_prior_box_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-priorbox-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-boxcoder-op operators/test_box_coder_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-boxcoder-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-transpose-op operators/test_transpose_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-transpose-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-multiclassnms-op operators/test_multiclass_nms_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-multiclassnms-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-reshape-op operators/test_reshape_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-reshape-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-relu-op operators/test_relu_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-relu-op paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-fc-op operators/test_fushion_fc_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-fc-op paddle-mobile
)
# gen test log
ADD_EXECUTABLE
(
test-log common/test_log.cpp
)
target_link_libraries
(
test-log paddle-mobile
)
# gen test log
ADD_EXECUTABLE
(
test-load framework/test_load.cpp
)
target_link_libraries
(
test-load paddle-mobile
)
# gen test log
# gen test
ADD_EXECUTABLE
(
test-optimize framework/test_optimize.cpp
)
target_link_libraries
(
test-optimize paddle-mobile
)
#gen test
ADD_EXECUTABLE
(
test-pool operators/test_pool_op.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-pool paddle-mobile
)
#gen test
ADD_EXECUTABLE
(
test-softmax operators/test_softmax_op.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-softmax paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-gemm common/test_gemm.cpp
)
target_link_libraries
(
test-gemm paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-enforce common/test_enforce.cpp
)
target_link_libraries
(
test-enforce paddle-mobile
)
# gen test - test if openmp works
ADD_EXECUTABLE
(
test-openmp common/test_openmp.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-openmp paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-mobilenetssd net/test_mobilenet+ssd.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-mobilenetssd paddle-mobile
)
#
# gen test
#
ADD_EXECUTABLE(test-sigmoid operators/test_sigmoid_op.cpp test_include.h)
#
target_link_libraries(test-sigmoid paddle-mobile)
#
#
# gen test
#
ADD_EXECUTABLE(test-depthwise-conv-op operators/test_depthwise_conv_op.cpp test_helper.h test_include.h executor_for_test.h)
#
target_link_libraries(test-depthwise-conv-op paddle-mobile)
# gen test
ADD_EXECUTABLE
(
test-sigmoid operators/test_sigmoid_op.cpp test_include.h
)
target_link_libraries
(
test-sigmoid paddle-mobile
)
# gen test
ADD_EXECUTABLE
(
test-depthwise-conv-op operators/test_depthwise_conv_op.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-depthwise-conv-op paddle-mobile
)
endif
()
tools/run.sh
浏览文件 @
968cd00a
...
...
@@ -24,14 +24,11 @@ adb shell mkdir ${IMAGES_DIR}
LIB_PATH
=
"../build/release/arm-v7a/build/*"
adb push
${
EXE_FILE
}
${
EXE_DIR
}
adb push
${
LIB_PATH
}
${
EXE_DIR
}
if
[[
$1
!=
"
n
pm"
]]
;
then
if
[[
$1
!=
"pm"
]]
;
then
adb push
${
IMAGE_PATH
}
${
IMAGES_DIR
}
#adb push ${MODELS_PATH} ${MODELS_DIR}
adb push
${
MODELS_PATH
}
${
MODELS_DIR
}
fi
adb shell
"cd /data/local/tmp/bin; LD_LIBRARY_PATH=. ./
${
TESTUNIT
}
"
}
if
[[
$1
==
"npm"
]]
;
then
push_fn
$1
else
push_fn
fi
\ No newline at end of file
push_fn
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录