| 973 | } |
| 974 | |
| 975 | static struct llama_sampler * llama_sampler_temp_clone(const struct llama_sampler * smpl) { |
| 976 | const auto * ctx = (const llama_sampler_temp *) smpl->ctx; |
| 977 | return llama_sampler_init_temp(ctx->temp); |
| 978 | } |
| 979 | |
| 980 | static void llama_sampler_temp_free(struct llama_sampler * smpl) { |
| 981 | delete (llama_sampler_temp *) smpl->ctx; |
nothing calls this directly
no test coverage detected