-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve TensorRT GetCapability to Enable More Models (#1012)
* Improve TensorRT GetCapability Accuracy * Update onnxruntime_providers.cmake * made changes based on feedback * update unit tests for TensorRT * update onnx-tensorrt submodule to v5.0 branch * remove uncessary comments * convert int32 to int64 at inferencing output * add more data types in compute * change returns in compute * use StatusCode as return in compute
- Loading branch information
Showing
18 changed files
with
462 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule onnx-tensorrt
updated
9 files
+139 −25 | ModelImporter.cpp | |
+2 −3 | NvOnnxParserTypedefs.h | |
+3 −2 | PluginFactory.cpp | |
+44 −3 | ShapedWeights.cpp | |
+2 −0 | ShapedWeights.hpp | |
+9 −0 | Status.hpp | |
+19 −11 | builtin_op_importers.cpp | |
+16 −4 | getSupportedAPITest.cpp | |
+38 −4 | onnx2trt_utils.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
367 changes: 256 additions & 111 deletions
367
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.