Go to the source code of this file.
Functions | |
| void | final_logit_scale_f32 (float *logits, int tokens, int vocab_size, float scale) |
| void | final_logit_scale_muse_pytorch_bf16_storage (float *logits, int tokens, int vocab_size, float scale) |
| void | final_logit_softcap_muse_pytorch_bf16_storage (float *logits, int tokens, int vocab_size, float cap) |
| void final_logit_scale_f32 | ( | float * | logits, |
| int | tokens, | ||
| int | vocab_size, | ||
| float | scale | ||
| ) |
Definition at line 9 of file logit_kernels.c.
References vocab_size.
| void final_logit_scale_muse_pytorch_bf16_storage | ( | float * | logits, |
| int | tokens, | ||
| int | vocab_size, | ||
| float | scale | ||
| ) |
Definition at line 24 of file logit_kernels.c.
References bf16_to_float(), float_to_bf16(), and vocab_size.
| void final_logit_softcap_muse_pytorch_bf16_storage | ( | float * | logits, |
| int | tokens, | ||
| int | vocab_size, | ||
| float | cap | ||
| ) |
Definition at line 40 of file logit_kernels.c.
References bf16_to_float(), float_to_bf16(), and vocab_size.