[Refactor] Remove if/else(switch case) of rank for addShapeConstr (#1839)
author김수진/동작제어Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Tue, 10 Jul 2018 05:22:21 +0000 (14:22 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 10 Jul 2018 05:22:21 +0000 (14:22 +0900)
commit742f059cba1542fe28c0bbde17d76a2bad0017d4
treea299bf27a4e7fb840d90e2676e53f9cb919f8534
parentb8c2d87bd9aa70470a26ce1507551ccf28a6fe79
[Refactor] Remove if/else(switch case) of rank for addShapeConstr (#1839)

* Remove if/else(switch case) of rank for addShapeConstr

Related : #1828

This commit removes if/else(switch cases) of rank for `addShapeConstr`.
That's because `asTensorShape` which used in `addShapeConstr` parameter includes if/else for processing shapes by each ranks.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Apply #1741 cases

* Update rank check for Cast
runtimes/pure_arm_compute/src/compilation.cc