Created by: lcy-seso
In some situation, by the deployment considerations, users hope to use CAPI to predict, instead of Python infer interface. We should provide examples to tell users how to do so. This also helps to test the CAPI.