Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
7e393455
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看板
提交
7e393455
编写于
2月 17, 2020
作者:
T
tienfeek
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete unused code test=develop
上级
02fb420f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
2 addition
and
24 deletion
+2
-24
lite/api/CMakeLists.txt
lite/api/CMakeLists.txt
+1
-20
lite/core/program.cc
lite/core/program.cc
+0
-2
lite/gen_code/paddle_infer.h
lite/gen_code/paddle_infer.h
+0
-1
lite/kernels/host/CMakeLists.txt
lite/kernels/host/CMakeLists.txt
+1
-1
未找到文件。
lite/api/CMakeLists.txt
浏览文件 @
7e393455
if
(
LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
)
if
(
LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
)
lite_cc_library
(
place SRCS paddle_place.cc DEPS logging
)
else
()
lite_cc_library
(
place SRCS paddle_place.cc DEPS glog
)
...
...
@@ -218,30 +218,11 @@ if(LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND WITH_TESTING)
--model_dir=
${
LITE_MODEL_DIR
}
/resnet50 SERIAL
)
add_dependencies
(
test_resnet50 extern_lite_download_resnet50_tar_gz
)
lite_cc_test
(
test_resnet50_fpga SRCS resnet50_test_fpga.cc
DEPS
${
lite_model_test_DEPS
}
CL_DEPS
${
opencl_kernels
}
FPGA_DEPS
${
fpga_kernels
}
)
lite_cc_test
(
test_ssd_fpga SRCS test_ssd_fpga.cc
DEPS
${
lite_model_test_DEPS
}
CL_DEPS
${
opencl_kernels
}
FPGA_DEPS
${
fpga_kernels
}
)
lite_cc_test
(
test_inceptionv3_fpga SRCS inceptionv3_test_fpga.cc
DEPS
${
lite_model_test_DEPS
}
CL_DEPS
${
opencl_kernels
}
FPGA_DEPS
${
fpga_kernels
}
)
lite_cc_test
(
test_inceptionv4 SRCS inceptionv4_test.cc
DEPS
${
lite_model_test_DEPS
}
CL_DEPS
${
opencl_kernels
}
ARGS --cl_path=
${
CMAKE_SOURCE_DIR
}
/lite/backends/opencl
--model_dir=
${
LITE_MODEL_DIR
}
/inception_v4 SERIAL
)
add_dependencies
(
test_inceptionv4 extern_lite_download_inception_v4_simple_tar_gz
)
lite_cc_test
(
test_ocr_attention_fpga SRCS ocr_attention_test_fpga.cc
DEPS
${
lite_model_test_DEPS
}
)
# lite_cc_test(model_run_test_image SRCS model_run_test_image.cc
# DEPS ${lite_model_test_DEPS}
# CL_DEPS ${opencl_kernels}
...
...
lite/core/program.cc
浏览文件 @
7e393455
...
...
@@ -140,8 +140,6 @@ void RuntimeProgram::Run() {
#ifndef LITE_WITH_FPGA
if
(
inst
.
is_feed_fetch_op
())
continue
;
std
::
string
op_type
=
inst
.
op
()
->
op_info
()
->
Type
();
VLOG
(
4
)
<<
">> Running kernel: "
<<
inst
.
op
()
->
op_info
()
->
Repr
()
<<
" on Target "
<<
TargetToStr
(
inst
.
kernel
()
->
target
());
#endif
inst
.
Run
();
#ifdef LITE_WITH_PROFILE
...
...
lite/gen_code/paddle_infer.h
100644 → 100755
浏览文件 @
7e393455
...
...
@@ -46,7 +46,6 @@ class Tensor {
*/
class
PaddlePredictor
{
public:
void
Init
()
{}
std
::
unique_ptr
<
Tensor
>
GetTensor
(
const
std
::
string
&
id
)
const
;
std
::
unique_ptr
<
Tensor
>
GetMutableTensor
(
const
std
::
string
&
id
);
...
...
lite/kernels/host/CMakeLists.txt
浏览文件 @
7e393455
...
...
@@ -4,7 +4,7 @@ add_kernel(feed_compute_host Host basic SRCS feed_compute.cc DEPS ${lite_kernel_
add_kernel
(
fetch_compute_host Host basic SRCS fetch_compute.cc DEPS
${
lite_kernel_deps
}
)
add_kernel
(
reshape_compute_host Host basic SRCS reshape_compute.cc DEPS
${
lite_kernel_deps
}
reshape_op
)
add_kernel
(
multiclass_nms_compute_host Host basic SRCS multiclass_nms_compute.cc DEPS
${
lite_kernel_deps
}
)
add_kernel
(
one_hot_compute_host Host
basic
SRCS one_hot_compute.cc DEPS
${
lite_kernel_deps
}
)
add_kernel
(
one_hot_compute_host Host
extra
SRCS one_hot_compute.cc DEPS
${
lite_kernel_deps
}
)
#lite_cc_test(test_reshape_compute_host SRCS reshape_compute_test.cc DEPS reshape_compute_host any)
#lite_cc_test(test_multiclass_nms_compute_host SRCS multiclass_nms_compute_test.cc DEPS multiclass_nms_compute_host any)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录