From 92518c519fd56065ef142b5e21cfe350648d1c47 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Thu, 26 Jul 2018 00:25:19 +0800 Subject: [PATCH] reuse sizes saving time --- paddle/fluid/operators/math/im2col.cc | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/paddle/fluid/operators/math/im2col.cc b/paddle/fluid/operators/math/im2col.cc index 311401b3d73..90783ba1c6f 100644 --- a/paddle/fluid/operators/math/im2col.cc +++ b/paddle/fluid/operators/math/im2col.cc @@ -79,25 +79,22 @@ class Im2ColFunctor