coder.TensorRTConfig
Parameters to configure deep learning code generation with theNVIDIATensorRT library
Description
这coder.TensorRTConfig
object contains NVIDIA®high performance deep learning inference optimizer and run-time library (TensorRT) specific parameters.codegen
使用这些参数生成CUDA®code for deep neural networks.
To use acoder.TensorRTConfig
object for code generation, assign it to theDeepLearningConfig
财产的coder.gpuConfig
object that you pass tocodegen
.
Creation
Create a TensorRT configuration object by using thecoder.deeplearningconfig
功能with target library set as'tensorrt'
.