[enco] Append generated block (#1208)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 28 Aug 2018 09:28:25 +0000 (18:28 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 28 Aug 2018 09:28:25 +0000 (18:28 +0900)
The current implementation of caffe frontend generates a block, but does
not appends it to the block list.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/frontend/caffe/src/Frontend.cpp

index 3357504..8a6f3ea 100644 (file)
@@ -59,6 +59,7 @@ enco::Bundle Frontend::load(void) const
 {
   auto m = coco::Module::create();
   auto blk = m->entity()->block()->create();
+  m->block()->append(blk);
 
   auto d = coco::Data::create();