Unify to use one function of asTensorShape() and asTensorInfo() (#2471)
author장지섭/동작제어Lab(SR)/Engineer/삼성전자 <jiseob.jang@samsung.com>
Thu, 30 Aug 2018 22:23:31 +0000 (07:23 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 30 Aug 2018 22:23:31 +0000 (07:23 +0900)
commit07d95bee435f140f7e8dcc971f5f18335861ea2d
tree657780c2901ad191e4ebfdf12ab1010f824d320a
parent55c6a68a5d2c9b73bfaa5732008b669578721203
Unify to use one function of asTensorShape() and asTensorInfo() (#2471)

* Unify to use one function of asTensorShape() and asTensorInfo()

This commit unifies to use one function(no overloading) of asTensorShape() and asTensorInfo().
- Export asTensorShape() out of asTensorInfo() to apply conditionally dimension correction.
- Unify to use one function to eliminate unnecessary complexity.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
* Remove unused overloading functions

This commit remove unused overloading functions.
 - asTensorInfo()
 - asTensorShape()

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
runtimes/pure_arm_compute/src/compilation.cc
runtimes/pure_arm_compute/src/internal/arm_compute/Cast.h