From f4b27958c29436a38bd58bf3a866ac3a98f765c6 Mon Sep 17 00:00:00 2001 From: wangliu Date: Tue, 29 May 2018 13:55:25 +0800 Subject: [PATCH] modify code style --- src/io.cpp | 2 +- src/operators/kernel/arm/conv_kernel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.cpp b/src/io.cpp index d92eec510e..e0df6e732e 100644 --- a/src/io.cpp +++ b/src/io.cpp @@ -399,7 +399,7 @@ void Executor::predict(const framework::Tensor &t, int block_id) { to_predict_program_->Block(block_id); for (int j = 0; j < ops_of_block_[*to_predict_block.get()].size(); ++j) { auto op = ops_of_block_[*to_predict_block.get()][j]; - op->Run(); + op->Run(); } } diff --git a/src/operators/kernel/arm/conv_kernel.cpp b/src/operators/kernel/arm/conv_kernel.cpp index 51d9960577..35ee195032 100644 --- a/src/operators/kernel/arm/conv_kernel.cpp +++ b/src/operators/kernel/arm/conv_kernel.cpp @@ -44,7 +44,7 @@ void ConvKernel::Compute(const ConvParam ¶m) const { std::vector paddings = param.Paddings(); std::vector dilations = param.Dilations(); -// DLOG << " compute end get Attrs " << strides[0]; + // DLOG << " compute end get Attrs " << strides[0]; const int batch_size = static_cast(input->dims()[0]); -- GitLab