bugfix for unique_ptr of IOptimizationProfile (#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=developfix-sync_batch_norm-hang-in-fleet
parent
49e4ee27e1
commit
bef4afa6de
Loading…
Reference in new issue