llama_sample_softmax method
@details Sorts candidate tokens by their logits in descending order and calculate probabilities based on logits.
Implementation
void llama_sample_softmax(
ffi.Pointer<llama_context> ctx,
ffi.Pointer<llama_token_data_array> candidates,
) {
return _llama_sample_softmax(
ctx,
candidates,
);
}