| 程序包 | 说明 |
|---|---|
| com.litongjava.whipser.cpp.java | |
| com.litongjava.whipser.cpp.java.callbacks |
| 限定符和类型 | 方法和说明 |
|---|---|
WhisperTokenData |
WhisperCppJnaLibrary.whisper_full_get_token_data_from_state(com.sun.jna.Pointer state,
int i_segment,
int i_token)
Get token data for the specified token in the specified segment from the state.
|
WhisperTokenData |
WhisperCppJnaLibrary.whisper_full_get_token_data(com.sun.jna.Pointer ctx,
int i_segment,
int i_token)
Get token data for the specified token in the specified segment.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
WhisperLogitsFilterCallback.callback(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer state,
WhisperTokenData[] tokens,
int n_tokens,
float[] logits,
com.sun.jna.Pointer user_data)
Callback method to filter logits.
|
Copyright © 2023. All rights reserved.