The NvDsInferCudaEngineGet interface is replaced by NvDsInferEngineCreateCustomFunc().
command near the top of the comment.