From deb4af70ef52b03cc44a85c41f525c9cd6b62b8a Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Wed, 7 Nov 2018 10:38:24 +0800 Subject: [PATCH] add test --- paddle/fluid/operators/tensorrt_engine_op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/tensorrt_engine_op.h b/paddle/fluid/operators/tensorrt_engine_op.h index 283bb41c48..7c49b2d26c 100644 --- a/paddle/fluid/operators/tensorrt_engine_op.h +++ b/paddle/fluid/operators/tensorrt_engine_op.h @@ -34,7 +34,7 @@ namespace operators { using FluidDT = framework::proto::VarType_Type; using TRT_DT = nvinfer1::DataType; -namespace { // NOLINT +namespace { // NOLINT TRT_DT FluidDataType2TRT(FluidDT type) { switch (type) { @@ -60,7 +60,7 @@ nvinfer1::Dims Vec2TRT_Dims(const std::vector& shape) { return nvinfer1::DimsCHW(shape[1], 1, 1); } -} // NOLINT // namespace +} // NOLINT // namespace using inference::Singleton; using inference::tensorrt::TRT_EngineManager; -- GitLab