whisper_get_logits method

Pointer<Float> whisper_get_logits(
  1. Pointer<whisper_context> ctx
)

Token logits obtained from the last call to whisper_decode() The logits for the last token are stored in the last row Rows: n_tokens Cols: n_vocab

Implementation

ffi.Pointer<ffi.Float> whisper_get_logits(
  ffi.Pointer<whisper_context> ctx,
) {
  return _whisper_get_logits(
    ctx,
  );
}