v2ext专题

【tensorrt】——PluginV2Layer must be V2Ext or V2IOExt or V2DynamicExt when there is no implicit batch d

tensorrt 1. tensorrt插件 用c++为tensorrt写了插件,继承自IPluginV2用pybind11进行python注册 namespace torch2trt {PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {py::class_<InterpolatePlugin>(m, "InterpolatePlugin")