llama_sampler_free function

  1. @Native<Void Function(Pointer<llama_sampler>)>(ffi.Pointer<llama_sampler>)>()
void llama_sampler_free(
  1. Pointer<llama_sampler> smpl
)

important: do not free if the sampler has been added to a llama_sampler_chain (via llama_sampler_chain_add)

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<llama_sampler>)>()
external void llama_sampler_free(
  ffi.Pointer<llama_sampler> smpl,
);