| 1083 | } |
| 1084 | |
| 1085 | static struct llama_sampler * llama_sampler_temp_ext_clone(const struct llama_sampler * smpl) { |
| 1086 | const auto * ctx = (const llama_sampler_temp_ext *) smpl->ctx; |
| 1087 | return llama_sampler_init_temp_ext(ctx->temp, ctx->delta, ctx->exponent); |
| 1088 | } |
| 1089 | |
| 1090 | static void llama_sampler_temp_ext_free(struct llama_sampler * smpl) { |
| 1091 | delete (llama_sampler_temp_ext *) smpl->ctx; |
nothing calls this directly
no test coverage detected