提交 d5230003 编写于 作者: W wangliu

modify code style

上级 28942cdd
...@@ -399,7 +399,7 @@ void Executor<Dtype, P>::predict(const framework::Tensor &t, int block_id) { ...@@ -399,7 +399,7 @@ void Executor<Dtype, P>::predict(const framework::Tensor &t, int block_id) {
to_predict_program_->Block(block_id); to_predict_program_->Block(block_id);
for (int j = 0; j < ops_of_block_[*to_predict_block.get()].size(); ++j) { for (int j = 0; j < ops_of_block_[*to_predict_block.get()].size(); ++j) {
auto op = ops_of_block_[*to_predict_block.get()][j]; auto op = ops_of_block_[*to_predict_block.get()][j];
op->Run(); op->Run();
} }
} }
......
...@@ -44,7 +44,7 @@ void ConvKernel<CPU, float>::Compute(const ConvParam &param) const { ...@@ -44,7 +44,7 @@ void ConvKernel<CPU, float>::Compute(const ConvParam &param) const {
std::vector<int> paddings = param.Paddings(); std::vector<int> paddings = param.Paddings();
std::vector<int> dilations = param.Dilations(); std::vector<int> dilations = param.Dilations();
// DLOG << " compute end get Attrs " << strides[0]; // DLOG << " compute end get Attrs " << strides[0];
const int batch_size = static_cast<int>(input->dims()[0]); const int batch_size = static_cast<int>(input->dims()[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册