url = https://github.com/onnx/onnx.git
[submodule "third_party/onnx-tensorrt"]
path = third_party/onnx-tensorrt
- url = https://github.com/onnx/onnx-tensorrt
+ url = https://github.com/bddppq/onnx-tensorrt
[submodule "third_party/sleef"]
path = third_party/sleef
url = https://github.com/zdevito/sleef
auto trt_builder = tensorrt::TrtObject(nvinfer1::createInferBuilder(logger));
auto trt_network = tensorrt::TrtObject(trt_builder->createNetwork());
auto importer =
- tensorrt::TrtObject(nvonnxparser::createParser(*trt_network, logger));
+ tensorrt::TrtObject(nvonnxparser::createParser(trt_network.get(), logger));
// function to tell whether TensorRT supports a given C2 op or not
auto supports =
auto trt_builder = TrtObject(nvinfer1::createInferBuilder(*logger));
auto trt_network = TrtObject(trt_builder->createNetwork());
auto trt_parser =
- TrtObject(nvonnxparser::createParser(*trt_network, *logger));
+ TrtObject(nvonnxparser::createParser(trt_network.get(), *logger));
auto status = trt_parser->parse(onnx_model_str.data(), onnx_model_str.size());
if (!status) {
const auto num_errors = trt_parser->getNbErrors();
-Subproject commit cb3d8066f20e6bca306454934d09d6abd826264a
+Subproject commit 9884f286a236a3b4e3218e4afa17781752e048bd