From 74dbbca774f013f7ecfc44a88dc537f525017a6c Mon Sep 17 00:00:00 2001 From: hjchen2 Date: Tue, 19 Mar 2019 13:37:21 +0800 Subject: [PATCH] Fix code style --- src/framework/executor.cpp | 4 ++-- src/pass/memory_optimize.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/framework/executor.cpp b/src/framework/executor.cpp index f1d50d6e99..93078d9d4d 100644 --- a/src/framework/executor.cpp +++ b/src/framework/executor.cpp @@ -12,12 +12,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +#include "framework/executor.h" #include #include #include #include "common/enforce.h" #include "common/log.h" -#include "memory/t_malloc.h" #include "framework/context.h" #include "framework/framework.pb-c.h" #include "framework/lod_tensor.h" @@ -27,7 +27,7 @@ limitations under the License. */ #include "framework/program/var_desc.h" #include "framework/scope.h" #include "framework/tensor.h" -#include "framework/executor.h" +#include "memory/t_malloc.h" #include "pass/memory_optimize.h" #ifdef PADDLE_MOBILE_CL #include "framework/cl/cl_image.h" diff --git a/src/pass/memory_optimize.cpp b/src/pass/memory_optimize.cpp index dec9b7f3a2..6d6475d7a1 100644 --- a/src/pass/memory_optimize.cpp +++ b/src/pass/memory_optimize.cpp @@ -91,8 +91,6 @@ void MemoryOptPass::operator()(const framework::ProgramDesc *program, } } - DLOG << "analysis_nodes_ size: " << analysis_nodes_.size(); - // apply optimize while (!analysis_nodes_.empty()) { auto *node = analysis_nodes_.top(); -- GitLab