Parameters to configure deep learning code generation with the CUDA Deep Neural Network library
The coder.CuDNNConfig
object contains NVIDIA® cuDNN specific parameters that codegen
uses for generating CUDA® code for deep neural networks.
To use a coder.CuDNNConfig
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('cudnn'
)coder.CuDNNConfig
object for deep learning code generation
by using the cuDNN library.