Function rkllm_load_lora

Source
pub unsafe extern "C" fn rkllm_load_lora(
    handle: LLMHandle,
    lora_adapter: *mut RKLLMLoraAdapter,
) -> c_int
Expand description

@brief Loads a Lora adapter into the LLM. @param handle LLM handle. @param lora_adapter Pointer to the Lora adapter structure. @return Status code (0 for success, non-zero for failure).