Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
fc0418fa
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看板
提交
fc0418fa
编写于
6月 01, 2018
作者:
L
liuruilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add push2android images folder
上级
ddd8e462
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
4 deletion
+6
-4
scripts/push2android.sh
scripts/push2android.sh
+3
-0
src/operators/fusion_conv_add_relu_op.h
src/operators/fusion_conv_add_relu_op.h
+1
-1
test/framework/test_optimize.cpp
test/framework/test_optimize.cpp
+1
-1
test/test_helper.h
test/test_helper.h
+1
-2
未找到文件。
scripts/push2android.sh
浏览文件 @
fc0418fa
...
...
@@ -2,12 +2,15 @@
push_fn
()
{
MODELS_PATH
=
"../test/models/*"
IMAGE_PATH
=
"../test/images/*"
EXE_FILE
=
"../test/build/*"
EXE_DIR
=
"data/local/tmp/bin"
MODELS_DIR
=
"data/local/tmp/models"
IMAGES_DIR
=
"data/local/tmp/images"
LIB_PATH
=
"../build/release/arm-v7a/build/*"
adb push
${
EXE_FILE
}
${
EXE_DIR
}
adb push
${
LIB_PATH
}
${
EXE_DIR
}
adb push
${
IMAGE_PATH
}
${
IMAGES_DIR
}
adb push
${
MODELS_PATH
}
${
MODELS_DIR
}
echo
"test files sync completed"
}
...
...
src/operators/fusion_conv_add_relu_op.h
浏览文件 @
fc0418fa
...
...
@@ -37,7 +37,7 @@ class FushionConvAddReluOpMatcher : public framework::FusionOpMatcher {
std
::
string
Type
()
{
return
G_OP_TYPE_FUSION_CONV_ADD_RELU
;
}
};
class
FusionFc
Op
{
class
ConvAddRelu
Op
{
public:
private:
};
...
...
test/framework/test_optimize.cpp
浏览文件 @
fc0418fa
...
...
@@ -20,7 +20,7 @@ limitations under the License. */
int
main
()
{
paddle_mobile
::
Loader
<
paddle_mobile
::
CPU
>
loader
;
// "../../../test/models/googlenet"
auto
program
=
loader
.
Load
(
g_
googlenet
);
auto
program
=
loader
.
Load
(
g_
mobilenet_ssd
);
paddle_mobile
::
framework
::
ProgramOptimize
optimize
;
// program.originProgram->Description("origin");
auto
optimize_program
=
optimize
.
FushionOptimize
(
program
.
originProgram
);
...
...
test/test_helper.h
浏览文件 @
fc0418fa
...
...
@@ -26,8 +26,7 @@ static const std::string g_googlenet = "../models/googlenet";
static
const
std
::
string
g_mobilenet
=
"../models/mobilenet"
;
static
const
std
::
string
g_mobilenet_ssd
=
"../models/mobilenet+ssd"
;
static
const
std
::
string
g_squeezenet
=
"../models/squeezenet"
;
static
const
std
::
string
g_resnet
=
"../models/image_classification_resnet.inference.model"
;
static
const
std
::
string
g_resnet
=
"../models/resnet"
;
static
const
std
::
string
g_yolo
=
"../models/yolo"
;
static
const
std
::
string
g_test_image_1x3x224x224
=
"../images/test_image_1x3x224x224_float"
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录