From 3a60b58354ab933295dfeec4f01d21324cf2c9c6 Mon Sep 17 00:00:00 2001 From: "baolei.an" Date: Wed, 29 Apr 2020 19:31:03 +0800 Subject: [PATCH] [LITE][BM] remove logs,test=develop --- lite/kernels/bm/bridges/elementwise_ops.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lite/kernels/bm/bridges/elementwise_ops.cc b/lite/kernels/bm/bridges/elementwise_ops.cc index 9994d58556..4104ad0451 100644 --- a/lite/kernels/bm/bridges/elementwise_ops.cc +++ b/lite/kernels/bm/bridges/elementwise_ops.cc @@ -127,7 +127,6 @@ int ElementwiseConverter(void* ctx, OpLite* op, KernelBase* kernel) { const float* x_data = const_cast(x->mutable_data()); auto unique_op_name = lite::subgraph::bm::UniqueName("expand_ndims"); std::vector i_expand_shape_data(3); - LOG(INFO) << x_dims << " " << y_dims << " " << output_dims; if (x_is_const && y_is_const) { float* cpu_data = compute_elementwise_both_const(op); bm_add_const_tensor(graph->GetCompilerHandle(), @@ -163,9 +162,6 @@ int ElementwiseConverter(void* ctx, OpLite* op, KernelBase* kernel) { shape[1] = &i_expand_shape_data[0]; y_data = nullptr; } - } else if (4 == dim[1] && 1 == shape[1][2] && 1 == shape[1][3]) { - LOG(INFO) << "aaaaaaa"; - y_data = nullptr; } add_binary_layer_v2(graph->GetCompilerHandle(), name[0], -- GitLab