From 0a534365f05b6551a20bf13a3248a0d96fddac59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Fri, 31 Aug 2018 09:52:43 +0900 Subject: [PATCH] [enco.caffe] Set Conv2D stride (#1256) With this commit, enco Caffe frontend now sets strides for Conv2D op entity. Signed-off-by: Jonghyun Park --- contrib/enco/frontend/caffe/src/Frontend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/enco/frontend/caffe/src/Frontend.cpp b/contrib/enco/frontend/caffe/src/Frontend.cpp index 8a6f3ea..ea0f127 100644 --- a/contrib/enco/frontend/caffe/src/Frontend.cpp +++ b/contrib/enco/frontend/caffe/src/Frontend.cpp @@ -203,6 +203,8 @@ enco::Bundle Frontend::load(void) const auto op = m->entity()->op()->create(); op->ker(ker_obj); + op->stride()->vertical(spec.stride(0)); + op->stride()->horizontal(spec.stride(1)); // Create a UnitF instruction auto ins = m->entity()->instr()->create(); -- 2.7.4