We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079cc02 commit e9e10f4Copy full SHA for e9e10f4
1 file changed
paddle/fluid/inference/tensorrt/plugin/yolo_box_op_plugin.cu
@@ -283,10 +283,7 @@ void YoloBoxPlugin::serialize(void* buffer) const {
283
SerializeValue(&buffer, input_w_);
284
}
285
286
-void YoloBoxPlugin::destroy() {
287
- cudaFree(anchors_device_);
288
- delete this;
289
-}
+void YoloBoxPlugin::destroy() {}
290
291
void YoloBoxPlugin::setPluginNamespace(const char* lib_namespace) {
292
namespace_ = std::string(lib_namespace);
0 commit comments