From dcba2e7236e3b9fb6aa43ae8f47e347458e2ec96 Mon Sep 17 00:00:00 2001 From: phlrain Date: Mon, 18 Mar 2019 09:21:21 +0000 Subject: [PATCH] fix conncat; test=develop --- paddle/fluid/operators/concat_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/concat_op.cc b/paddle/fluid/operators/concat_op.cc index bd8fe110c1..5d5ad9e711 100644 --- a/paddle/fluid/operators/concat_op.cc +++ b/paddle/fluid/operators/concat_op.cc @@ -56,7 +56,7 @@ class ConcatOp : public framework::OperatorWithKernel { "Input tensors should have the same " "elements except the specify axis."); } else { - // not check -1 in compile time + // not check -1 with other in compile time if (out_dims[j] != -1 && ins[i][j] != -1) { PADDLE_ENFORCE_EQ(out_dims[j], ins[i][j], "Input tensors should have the same " -- GitLab