Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • 合并请求
  • !17860

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板

[WIP][LITE] Add pool operator of arm cpu !17860

  • Report abuse
!17860 已关闭 6月 05, 2019 由 saxon_zh@saxon_zh 创建
#<User:0x00007f0e58614ac8>
  • 概览 0
  • 提交 21
  • 变更 13

Created by: ysh329

Add pool operator of arm cpu

Run Test

Run operator test and kernel test as below (save below commands as ./run_pool_op.sh) :

adb -s <serial-number> shell "mkdir /data/local/tmp/lite"

# operator test
adb -s <serial-number> push ./build.lite.android.arm64-v8a/paddle/fluid/lite/operators/test_pool_op_lite /data/local/tmp/lite/
adb -s <serial-number> shell /data/local/tmp/lite/test_pool_op_lite

# kernel test
adb -s <serial-number> push build.lite.android.arm64-v8a/paddle/fluid/lite/kernels/arm/test_pool_compute_arm /data/local/tmp/lite/
adb -s <serial-number> shell /data/local/tmp/lite/test_pool_compute_arm

Test Log

./run_pool_op.sh
./build.lite.android.arm64-v8a/paddle/fluid/lite/operators/test_pool_op_lite: 1 file pushed. 17.6 MB/s (14402360 bytes in 0.782s)
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from pool_op_lite
[ RUN      ] pool_op_lite.test
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0610 20:39:14.417650 22260 op_lite.h:62] valid places 0
I0610 20:39:14.418489 22260 pool_op_test.cc:76] kernels.size(): 1
[       OK ] pool_op_lite.test (85 ms)
[----------] 1 test from pool_op_lite (86 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (86 ms total)
[  PASSED  ] 1 test.
build.lite.android.arm64-v8a/paddle/fluid/lite/kernels/arm/test_pool_compute_arm: 1 file pushed. 17.6 MB/s (10687376 bytes in 0.578s)
[==========] Running 3 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from pool_arm
[ RUN      ] pool_arm.init
[       OK ] pool_arm.init (0 ms)
[ RUN      ] pool_arm.compute
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0610 20:39:15.062011 22263 pool_compute_test.cc:188] n:1 c:1 h:3 w:1 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.063264 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.063441 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.063638 22263 pool_compute_test.cc:188] n:1 c:1 h:3 w:3 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.063958 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.064141 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.064337 22263 pool_compute_test.cc:188] n:1 c:1 h:3 w:4 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.064638 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.064970 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.065104 22263 pool_compute_test.cc:188] n:1 c:1 h:3 w:12 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.065515 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.065744 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.065856 22263 pool_compute_test.cc:188] n:1 c:1 h:3 w:1 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.066128 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.066335 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.066495 22263 pool_compute_test.cc:188] n:1 c:1 h:1 w:1 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.066751 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.066892 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.067098 22263 pool_compute_test.cc:188] n:1 c:1 h:1 w:3 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.067385 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.067521 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.067636 22263 pool_compute_test.cc:188] n:1 c:1 h:1 w:4 stride:2 pad:0 pooling_type:avg global_pooling:1
I0610 20:39:15.067966 22263 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:39:15.068099 22263 pool_compute_test.cc:253] compare pass
I0610 20:39:15.068253 22263 pool_compute_test.cc:188] n:1 c:1 h:1 w:12 stride:2 pad:0 

【中】【间】【略】

I0610 20:38:47.500428 22240 pool_compute_test.cc:188] n:11 c:1024 h:4 w:12 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.763809 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.765525 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.765560 22240 pool_compute_test.cc:188] n:11 c:1024 h:4 w:1 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.787955 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.789642 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.789676 22240 pool_compute_test.cc:188] n:11 c:1024 h:1 w:1 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.795421 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.797097 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.797125 22240 pool_compute_test.cc:188] n:11 c:1024 h:1 w:3 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.814026 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.815686 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.815712 22240 pool_compute_test.cc:188] n:11 c:1024 h:1 w:4 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.838019 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.839651 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.839679 22240 pool_compute_test.cc:188] n:11 c:1024 h:1 w:12 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.905690 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
I0610 20:38:47.907397 22240 pool_compute_test.cc:253] compare pass
I0610 20:38:47.907426 22240 pool_compute_test.cc:188] n:11 c:1024 h:1 w:1 stride:2 pad:0 pooling_type:max global_pooling:1
I0610 20:38:47.913206 22240 pool_compute_test.cc:243] pool_compute_ref(param) end
[       OK ] pool_arm.compute (8571 ms)
[----------] 2 tests from pool_arm (8571 ms total)

[----------] 1 test from pool
[ RUN      ] pool.retrive_op
I0610 20:38:47.914844 22240 pool_compute_test.cc:253] compare pass
[       OK ] pool.retrive_op (0 ms)
[----------] 1 test from pool (1 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 2 test cases ran. (8572 ms total)
[  PASSED  ] 3 tests.
指派人
分配到
审核者
Request review from
无
里程碑
无
分配里程碑
工时统计
标识: paddlepaddle/Paddle!17860
Source branch: github/fork/ysh329/arm_cpu_pool
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7