/* DO NOT EDIT THIS FILE - it is machine generated */#include <jni.h>/* Header for class de_kherud_llama_LlamaModel */#ifndef _Included_de_kherud_llama_LlamaModel#define _Included_de_kherud_llama_LlamaModel#ifdef __cplusplusextern "C" {#endif/** Class: de_kherud_llama_LlamaModel* Method: embed* Signature: (Ljava/lang/String;)[F*/JNIEXPORT jfloatArray JNICALL Java_de_kherud_llama_LlamaModel_embed(JNIEnv *, jobject, jstring);/** Class: de_kherud_llama_LlamaModel* Method: encode* Signature: (Ljava/lang/String;)[I*/JNIEXPORT jintArray JNICALL Java_de_kherud_llama_LlamaModel_encode(JNIEnv *, jobject, jstring);/** Class: de_kherud_llama_LlamaModel* Method: setLogger* Signature: (Lde/kherud/llama/args/LogFormat;Ljava/util/function/BiConsumer;)V*/JNIEXPORT void JNICALL Java_de_kherud_llama_LlamaModel_setLogger(JNIEnv *, jclass, jobject, jobject);/** Class: de_kherud_llama_LlamaModel* Method: requestCompletion* Signature: (Ljava/lang/String;)I*/JNIEXPORT jint JNICALL Java_de_kherud_llama_LlamaModel_requestCompletion(JNIEnv *, jobject, jstring);/** Class: de_kherud_llama_LlamaModel* Method: receiveCompletion* Signature: (I)Lde/kherud/llama/LlamaOutput;*/JNIEXPORT jobject JNICALL Java_de_kherud_llama_LlamaModel_receiveCompletion(JNIEnv *, jobject, jint);/** Class: de_kherud_llama_LlamaModel* Method: cancelCompletion* Signature: (I)V*/JNIEXPORT void JNICALL Java_de_kherud_llama_LlamaModel_cancelCompletion(JNIEnv *, jobject, jint);/** Class: de_kherud_llama_LlamaModel* Method: decodeBytes* Signature: ([I)[B*/JNIEXPORT jbyteArray JNICALL Java_de_kherud_llama_LlamaModel_decodeBytes(JNIEnv *, jobject, jintArray);/** Class: de_kherud_llama_LlamaModel* Method: loadModel* Signature: (Ljava/lang/String;)V*/JNIEXPORT void JNICALL Java_de_kherud_llama_LlamaModel_loadModel(JNIEnv *, jobject, jstring);/** Class: de_kherud_llama_LlamaModel* Method: delete* Signature: ()V*/JNIEXPORT void JNICALL Java_de_kherud_llama_LlamaModel_delete(JNIEnv *, jobject);#ifdef __cplusplus}#endif#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。