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

Function ggml_compute_forward_soft_max

ggml.c:10779–10793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10777}
10778
10779static void ggml_compute_forward_soft_max(
10780 const struct ggml_compute_params * params,
10781 const struct ggml_tensor * src0,
10782 struct ggml_tensor * dst) {
10783 switch (src0->type) {
10784 case GGML_TYPE_F32:
10785 {
10786 ggml_compute_forward_soft_max_f32(params, src0, dst);
10787 } break;
10788 default:
10789 {
10790 GGML_ASSERT(false);
10791 } break;
10792 }
10793}
10794
10795// ggml_compute_forward_soft_max_back
10796

Callers 1

ggml_compute_forwardFunction · 0.70

Calls 1

Tested by

no test coverage detected