From 01fa4cc73d37671eaec9e58dfc4d2bc76df9a15e Mon Sep 17 00:00:00 2001 From: qingqing01 Date: Thu, 16 Nov 2017 17:32:32 +0800 Subject: [PATCH] Remove the unused code. --- paddle/operators/bilinear_tensor_product_op.h | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/operators/bilinear_tensor_product_op.h b/paddle/operators/bilinear_tensor_product_op.h index ee9636e9fb7..1113a4c6f35 100644 --- a/paddle/operators/bilinear_tensor_product_op.h +++ b/paddle/operators/bilinear_tensor_product_op.h @@ -63,7 +63,6 @@ class BilinearTensorProductKernel : public framework::OpKernel { math::gemm(ctx.device_context(), CblasNoTrans, CblasNoTrans, batch_size, y_dim, x_dim, 1, x->data(), weight_mat.data(), 0, left_mul.data()); - Eigen::array shape({{static_cast(out->dims()[0]), 1}}); output_col_vec.device(place) = (left_mul_mat * y_mat).sum(Eigen::DSizes(1)); } -- GitLab