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>