Skip to content

Commit 01fa4cc

Browse files
authored
Remove the unused code.
1 parent 0321e1f commit 01fa4cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

paddle/operators/bilinear_tensor_product_op.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ class BilinearTensorProductKernel : public framework::OpKernel<T> {
6363
math::gemm<Place, T>(ctx.device_context(), CblasNoTrans, CblasNoTrans,
6464
batch_size, y_dim, x_dim, 1, x->data<T>(),
6565
weight_mat.data<T>(), 0, left_mul.data<T>());
66-
Eigen::array<int, 2> shape({{static_cast<int>(out->dims()[0]), 1}});
6766
output_col_vec.device(place) =
6867
(left_mul_mat * y_mat).sum(Eigen::DSizes<int, 1>(1));
6968
}

0 commit comments

Comments
 (0)