[neurun] Support 1x1x1x1 input for Squeeze (#8646)
author이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Thu, 31 Oct 2019 09:11:53 +0000 (18:11 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 31 Oct 2019 09:11:53 +0000 (18:11 +0900)
commit2fb56f3d3bde055a063b8ce82afc6b5bde354db5
treeca5bb32610da309aed0243bc75a9596113271e64
parent87c1cb9bb7509ad1af6ce581c8a1bac024a633aa
[neurun] Support 1x1x1x1 input for Squeeze (#8646)

Squeeze will handle 1x1x1x1 input using ShapeFixer.
Scalar output will be fixed to rank-1 one element tensor.
The output value will be transfer to app without trouble since nnfw
runtime API get output values using buffer pointer and buffer length.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
runtimes/neurun/backend/acl_cl/ShapeFixer.cc