[coco] Add comment of Bag Input Output (#2846)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 15 Jan 2019 01:57:30 +0000 (10:57 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 15 Jan 2019 01:57:30 +0000 (10:57 +0900)
* [coco] Add comment of Bag Input Output

This will add explanation comment for input and output attributes

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* apply comment

contrib/coco/core/include/coco/IR/Bag.h

index aa5e5dd..756204a 100644 (file)
@@ -90,7 +90,9 @@ public:
   const UpdateSet *updates(void) const;
 
 public:
+  // @brief Return a valid pointer if this bag is marked as an input of the model
   Input *input(void) const { return _input; }
+  // @brief Return a valid pointer if this bag is marked as an output of the model
   Output *output(void) const { return _output; }
 
 public: