[neurun] Allow integer list for neurun::operand::Shape (#4909)
author이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Wed, 3 Apr 2019 04:38:58 +0000 (13:38 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 3 Apr 2019 04:38:58 +0000 (13:38 +0900)
commitfbf3ebee5103f817aa6d33ccec1081b52f25afd0
tree95dddf6df8ccd2e332f8c19ad3be483296afd3e7
parent7498918fe7667358ec76fcfc1c5d6dbc1c4d41e3
[neurun] Allow integer list for neurun::operand::Shape (#4909)

This patch enables initilization of neurun::operand::Shape with list.

Before:
```
    operand::Shape shape{4};
    shape.dim(0) = 1;
    shape.dim(1) = 2;
    shape.dim(2) = 2;
    shape.dim(3) = 1;
```

After:
```
    operand::Shape shape{1, 2, 2, 1};
```

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
runtimes/neurun/core/include/model/operand/Shape.h
runtimes/neurun/test/graph/operand/Set.cc
runtimes/neurun/test/graph/operand/UseDef.cc
runtimes/neurun/test/graph/operation/SetIO.cc
runtimes/neurun/test/graph/verifier/Verifier.cc
runtimes/neurun/test/interp/ExecManager.cc