Created by: cryoco
PR types
Bug fixes
PR changes
Others
Describe
cherry-pick PR#23917 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