The NvDsInferCudaEngineGet interface is replaced by NvDsInferEngineCreateCustomFunc().
Use perClassPreclusterThreshold instead.