[coco] Introduce arity and general arg accessor (#2200)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 12 Nov 2018 10:08:38 +0000 (19:08 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 12 Nov 2018 10:08:38 +0000 (19:08 +0900)
commitc5c64c6290a2d88ed49131d07f46a6b1f8d8c39f
tree8efd53ac32e597456049b89315995130c550588e
parentf74b82a77205e0583ac9484a28a06176e789cfa9
[coco] Introduce arity and general arg accessor (#2200)

* [coco] Introduce arity and general arg accessor

With this commit, users are able to query the number of arguments over
each coco::Op, and retrive its Nth argument without knowing its details.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
* Fix a typo
contrib/coco/core/include/coco/IR/Op.h
contrib/coco/core/include/coco/IR/Ops.h
contrib/coco/core/src/IR/Conv2D.cpp
contrib/coco/core/src/IR/Load.cpp
contrib/coco/core/src/IR/Op.cpp
contrib/coco/core/src/IR/Part.test.cpp