From bb17cc75163a7ffb70ad608391c811279504b93a Mon Sep 17 00:00:00 2001 From: zlsh80826 Date: Tue, 4 Aug 2020 15:33:55 +0800 Subject: [PATCH] remove debug message --- paddle/fluid/inference/tensorrt/convert/stack_op.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/paddle/fluid/inference/tensorrt/convert/stack_op.cc b/paddle/fluid/inference/tensorrt/convert/stack_op.cc index c01b8704935..f35024529c6 100644 --- a/paddle/fluid/inference/tensorrt/convert/stack_op.cc +++ b/paddle/fluid/inference/tensorrt/convert/stack_op.cc @@ -15,8 +15,6 @@ limitations under the License. */ #include "paddle/fluid/inference/tensorrt/convert/op_converter.h" #include "paddle/fluid/inference/tensorrt/plugin/stack_op_plugin.h" -#include - namespace paddle { namespace inference { namespace tensorrt { @@ -40,10 +38,6 @@ class StackOpConverter : public OpConverter { inputs[i] = engine_->GetITensor(input[i]); } - auto idim = inputs[0]->getDimensions(); - std::cerr << "Stack input: " << idim.nbDims << " " << idim.d[0] << " " - << idim.d[1] << " " << idim.d[2] << std::endl; - int axis = BOOST_GET_CONST(int, op_desc.GetAttr("axis")); if (axis < 0) { axis = axis + inputs[0]->getDimensions().nbDims + 1; -- GitLab