bugfix for unique_ptr of IOptimizationProfile (#23917) (#26806)
This commit fixs the compiling bug regarding unique_ptr of IOptimizationProfile. IOptimizationProfile has protected dtor and is controlled by TensorRT internally. Application shouldn't delete the pointer of IOptimizationProfile. See TensorRT document: https://docs.nvidia.com/deeplearning/sdk/tensorrt-api/c_api/classnvinfer1_1_1_i_builder.html#a9ac47e100454151d8206ac91d543299a test=develop Co-authored-by: NJeng Bai-Cheng <jeng1220@users.noreply.github.com>
Showing
想要评论请 注册 或 登录