Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
30eccaa3
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看板
提交
30eccaa3
编写于
9月 11, 2018
作者:
xiebaiyuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add single build for mobilenetfssd
上级
9c44f9ae
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
31 addition
and
1 deletion
+31
-1
src/operators/kernel/central-arm-func/flatten_arm_func.h
src/operators/kernel/central-arm-func/flatten_arm_func.h
+5
-0
test/CMakeLists.txt
test/CMakeLists.txt
+4
-0
tools/build.sh
tools/build.sh
+1
-1
tools/op.cmake
tools/op.cmake
+21
-0
未找到文件。
src/operators/kernel/central-arm-func/flatten_arm_func.h
浏览文件 @
30eccaa3
...
...
@@ -13,6 +13,11 @@ See the License for the specific language governing permissions and
limitations under the License. */
#ifdef FLATTEN_OP
#ifndef RESHAPE_OP
#define RESHAPE_OP
#endif
#pragma once
#include <operators/kernel/reshape_kernel.h>
...
...
test/CMakeLists.txt
浏览文件 @
30eccaa3
...
...
@@ -51,6 +51,10 @@ elseif("nlp" IN_LIST NET)
# gen test
ADD_EXECUTABLE
(
test-gru-op operators/test_gru_op.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-gru-op paddle-mobile
)
elseif
(
"mobilenetfssd"
IN_LIST NET
)
# gen test
ADD_EXECUTABLE
(
test-fssd net/test_mobilenet_025_fssd.cpp test_helper.h test_include.h
)
target_link_libraries
(
test-fssd paddle-mobile
)
else
()
# gen test
...
...
tools/build.sh
浏览文件 @
30eccaa3
#!/usr/bin/env bash
NETS
=
""
declare
-a
supportedNets
=(
"googlenet"
"mobilenet"
"yolo"
"squeezenet"
"resnet"
"mobilenetssd"
"nlp"
)
declare
-a
supportedNets
=(
"googlenet"
"mobilenet"
"yolo"
"squeezenet"
"resnet"
"mobilenetssd"
"nlp"
"mobilenetfssd"
)
build_for_mac
()
{
if
[
!
`
which brew
`
]
;
then
...
...
tools/op.cmake
浏览文件 @
30eccaa3
...
...
@@ -127,6 +127,27 @@ if ("nlp" IN_LIST NET)
set
(
FOUND_MATCH ON
)
endif
()
if
(
"mobilenetfssd"
IN_LIST NET
)
message
(
"mobilenetfssd enabled"
)
set
(
FUSION_CONVADDRELU_OP ON
)
set
(
FUSION_CONVADDBNRELU_OP ON
)
set
(
FUSION_CONVADD_OP ON
)
set
(
SOFTMAX_OP ON
)
set
(
RESHAPE_OP ON
)
set
(
BILINEAR_INTERP_OP ON
)
set
(
TRANSPOSE_OP ON
)
set
(
CONCAT_OP ON
)
set
(
PRIORBOX_OP ON
)
set
(
BATCHNORM_OP ON
)
set
(
BOXCODER_OP ON
)
set
(
MULTICLASSNMS_OP ON
)
set
(
FLATTEN_OP ON
)
set
(
SPLIT_OP ON
)
set
(
SHAPE_OP ON
)
set
(
FOUND_MATCH ON
)
endif
()
if
(
NOT FOUND_MATCH
)
message
(
"--default--"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录