Function rkllm_init
Source pub fn rkllm_init(
param: *mut RKLLMParam,
) -> Result<LLMHandle, Box<dyn Error + Send + Sync>>
Expand description
Initializes the LLM with the given parameters.
§Parameters
param: A pointer to the LLM configuration parameters.
§Returns
If successful, returns a Result containing the LLMHandle; otherwise, returns an error.