Parameters to configure deep learning code generation with the NVIDIA TensorRT library
The coder.TensorRTConfig
object contains NVIDIA® high performance deep learning inference optimizer and run-time library
(TensorRT) specific parameters. codegen
uses those parameters for generating
CUDA® code for deep neural networks.
To use a coder.TensorRTConfig
object for code generation, assign it to
the DeepLearningConfig
property of a coder.gpuConfig
object that you pass to codegen
.
creates a deepLearningCfg
= coder.DeepLearningConfig('tensorrt'
)coder.TensorRTConfig
object for deep learning code
generation by using the TensorRT library.