diff --git a/paddle/fluid/inference/tensorrt/convert/scale_op.cc b/paddle/fluid/inference/tensorrt/convert/scale_op.cc index c6ed50501f76641bd56548d0064b205dfebce397..054964419d2d94a702f2f50c87bd595770701d61 100644 --- a/paddle/fluid/inference/tensorrt/convert/scale_op.cc +++ b/paddle/fluid/inference/tensorrt/convert/scale_op.cc @@ -19,7 +19,7 @@ namespace inference { namespace tensorrt { /* - * ConcatOp + * Scale Op */ class ScaleOpConverter : public OpConverter { public: diff --git a/paddle/fluid/inference/tensorrt/op_teller.cc b/paddle/fluid/inference/tensorrt/op_teller.cc index bb0fbdf6ca84821a2f7689656465f137d8f8c989..6a94e14d7e68b6e21de129e83dfc2219415cee20 100644 --- a/paddle/fluid/inference/tensorrt/op_teller.cc +++ b/paddle/fluid/inference/tensorrt/op_teller.cc @@ -1184,10 +1184,12 @@ struct SimpleOpTypeSetTeller : public Teller { return false; } } else { - // At present, only support float32 or float16 or int32 into trt. + // At present, only support float32 or float16 or int32 or int64 into + // trt. if (!(dtype == framework::proto::VarType::FP32 || dtype == framework::proto::VarType::FP16 || - dtype == framework::proto::VarType::INT32)) { + dtype == framework::proto::VarType::INT32 || + dtype == framework::proto::VarType::INT64)) { return false; } }