| 929 | } |
| 930 | |
| 931 | static struct llama_sampler * llama_sampler_typical_clone(const struct llama_sampler * smpl) { |
| 932 | const auto * ctx = (const llama_sampler_typical *) smpl->ctx; |
| 933 | return llama_sampler_init_typical(ctx->p, ctx->min_keep); |
| 934 | } |
| 935 | |
| 936 | static void llama_sampler_typical_free(struct llama_sampler * smpl) { |
| 937 | delete (llama_sampler_typical *) smpl->ctx; |
nothing calls this directly
no test coverage detected