MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_sampler_init_temp_ext

Function llama_sampler_init_temp_ext

smallthinker/src/llama-sampling.cpp:1103–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101};
1102
1103struct llama_sampler * llama_sampler_init_temp_ext(float temp, float delta, float exponent) {
1104 return llama_sampler_init(
1105 /* .iface = */ &llama_sampler_temp_ext_i,
1106 /* .ctx = */ new llama_sampler_temp_ext {
1107 /* .temp = */ temp,
1108 /* .delta = */ delta,
1109 /* .exponent = */ exponent,
1110 }
1111 );
1112}
1113
1114// xtc
1115

Callers 3

test_temp_extFunction · 0.85
common_sampler_initFunction · 0.85

Calls 1

llama_sampler_initFunction · 0.85

Tested by 1

test_temp_extFunction · 0.68