llama_get_sampled_probs_ith function

  1. @Native<Pointer<Float> Function(Pointer<llama_context>, Int32)>(ffi.Pointer<llama_context>, ffi.Int32)>()
Pointer<Float> llama_get_sampled_probs_ith(
  1. Pointer<llama_context> ctx,
  2. int i
)

Implementation

@ffi.Native<
  ffi.Pointer<ffi.Float> Function(ffi.Pointer<llama_context>, ffi.Int32)
>()
external ffi.Pointer<ffi.Float> llama_get_sampled_probs_ith(
  ffi.Pointer<llama_context> ctx,
  int i,
);