From: 박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Tue, 4 Sep 2018 08:22:06 +0000 (+0900) Subject: [enco.caffe] Set MaxPool2D op stride values (#1323) X-Git-Tag: nncc_backup~1951 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3b53c00cbdfeba9b466368e4707bcedb60db433;p=platform%2Fcore%2Fml%2Fnnfw.git [enco.caffe] Set MaxPool2D op stride values (#1323) With this commit, Caffe frontend now correctly sets stride of MaxPool2D operation using the values inferred from caffe model. Signed-off-by: Jonghyun Park --- diff --git a/contrib/enco/frontend/caffe/src/Frontend.cpp b/contrib/enco/frontend/caffe/src/Frontend.cpp index 8a574d8..249ac26 100644 --- a/contrib/enco/frontend/caffe/src/Frontend.cpp +++ b/contrib/enco/frontend/caffe/src/Frontend.cpp @@ -268,6 +268,9 @@ enco::Bundle Frontend::load(void) const op->window()->vertical(spec.window_height()); op->window()->horizontal(spec.window_width()); + op->stride()->vertical(spec.vertical_stride()); + op->stride()->horizontal(spec.horizontal_stride()); + // Create a UnitF instruction auto ins = m->entity()->instr()->create();