Resolve param value for average pool at frontend (#5298)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 28 May 2019 22:10:37 +0000 (07:10 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 28 May 2019 22:10:37 +0000 (07:10 +0900)
commit92565f6781bfe08dacf018ed8913ee2690c0d15d
treefbe2937ffd8b617695c19b21c360f238707fc92e
parent0dd5d7695bb393f5f072eaae1a7371bce2498575
Resolve param value for average pool at frontend (#5298)

- Change stride and kernel width/height index param in avgpool2d node to constant value
- Resolve param values at frontend and use resolved value at each backend

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
runtimes/neurun/backend/acl_cl/StageGenerator.cc
runtimes/neurun/backend/acl_neon/StageGenerator.cc
runtimes/neurun/backend/cpu/StageGenerator.cc
runtimes/neurun/core/include/model/operation/AvgPool2DNode.h
runtimes/neurun/frontend/nnapi/wrapper/OperationFactory.cc