From: 박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Fri, 31 Aug 2018 08:33:39 +0000 (+0900) Subject: [enco.caffe] Deliver Conv2D padding values via IR (#1271) X-Git-Tag: nncc_backup~1991 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dc09b9cd2db4d8a6abdc112ffaefce9a69e4ff1;p=platform%2Fcore%2Fml%2Fnnfw.git [enco.caffe] Deliver Conv2D padding values via IR (#1271) With this commit, enco Caffe frontend now sets Conv2D padding values correctly in IR. Signed-off-by: Jonghyun Park --- diff --git a/contrib/enco/frontend/caffe/src/Frontend.cpp b/contrib/enco/frontend/caffe/src/Frontend.cpp index ea0f127..886b995 100644 --- a/contrib/enco/frontend/caffe/src/Frontend.cpp +++ b/contrib/enco/frontend/caffe/src/Frontend.cpp @@ -206,6 +206,11 @@ enco::Bundle Frontend::load(void) const op->stride()->vertical(spec.stride(0)); op->stride()->horizontal(spec.stride(1)); + op->pad()->top(spec.pad(0)); + op->pad()->bottom(spec.pad(0)); + op->pad()->left(spec.pad(1)); + op->pad()->right(spec.pad(1)); + // Create a UnitF instruction auto ins = m->entity()->instr()->create();