TensorRT 10.0.1
|
Functions | |
IParser * | createParser (nvinfer1::INetworkDefinition &network, nvinfer1::ILogger &logger) |
Create a new parser object. More... | |
IParserRefitter * | createParserRefitter (nvinfer1::IRefitter &refitter, nvinfer1::ILogger &logger) |
Create a new ONNX refitter object. More... | |
|
inline |
Create a new parser object.
network | The network definition that the parser will write to |
logger | The logger to use |
Any input dimensions that are constant should not be changed after parsing, because correctness of the translation may rely on those constants. Changing a dynamic input dimension, i.e. one that translates to -1 in TensorRT, to a constant is okay if the constant is consistent with the model. Each instance of the parser is designed to only parse one ONNX model once.
|
inline |
Create a new ONNX refitter object.
refitter | The Refitter object used to refit the model |
logger | The logger to use |
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact