# PPQI.jl **Repository Path**: AgentMaker/PPQI.jl ## Basic Information - **Project Name**: PPQI.jl - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-11 - **Last Updated**: 2021-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PPQI.jl Julia Version PaddlePaddle Quick Inference. # Install Package ```julia using Pkg Pkg.add(url="https://github.com/AgentMaker/PPQI.jl") ``` # API Reference * load_config: ```julia function load_config( modelpath::String, use_gpu::Bool=false, gpu_id::Int=0, use_mkldnn::Bool=false, cpu_treads::Int=1 )::PyObject return config::PyObject ``` * load_model: ```julia function load_model( config::PyObject )::InferenceModel return model::InferenceModel ``` * InferenceModel: ```julia struct InferenceModel predictor::PyObject input_handles::Vector{PyObject} output_handles::Vector{PyObject} end ``` * model_forward: ```julia function model_forward( model::InferenceModel, input_datas::Vector )::Vector return output_datas::Vector ```