This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new e04565a [MXNET-703] Update onnx-tensorrt to most recent version
(#12274)
e04565a is described below
commit e04565aa9534bdc35bdca57e67ef2307cb473792
Author: Kellen Sunderland <[email protected]>
AuthorDate: Wed Aug 22 14:02:20 2018 +0200
[MXNET-703] Update onnx-tensorrt to most recent version (#12274)
Update breaking change to createParser interface.
---
3rdparty/onnx-tensorrt | 2 +-
src/executor/onnx_to_tensorrt.cc | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/3rdparty/onnx-tensorrt b/3rdparty/onnx-tensorrt
index e7be19c..3d8ee04 160000
--- a/3rdparty/onnx-tensorrt
+++ b/3rdparty/onnx-tensorrt
@@ -1 +1 @@
-Subproject commit e7be19cff377a95817503e8525e20de34cdc574a
+Subproject commit 3d8ee049970e81ff4935cc7f36b653c0b27bcbbc
diff --git a/src/executor/onnx_to_tensorrt.cc b/src/executor/onnx_to_tensorrt.cc
index 0b4d91b..e3a4ae8 100644
--- a/src/executor/onnx_to_tensorrt.cc
+++ b/src/executor/onnx_to_tensorrt.cc
@@ -91,8 +91,7 @@ nvinfer1::ICudaEngine* onnxToTrtCtx(
TRT_Logger trt_logger(verbosity);
auto trt_builder = InferObject(nvinfer1::createInferBuilder(trt_logger));
auto trt_network = InferObject(trt_builder->createNetwork());
- auto trt_parser = InferObject(nvonnxparser::createParser(
- *trt_network, trt_logger));
+ auto trt_parser = InferObject(nvonnxparser::createParser(trt_network.get(),
trt_logger));
::ONNX_NAMESPACE::ModelProto parsed_model;
// We check for a valid parse, but the main effect is the side effect
// of populating parsed_model