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

Function ggml_compute_forward_tanh

ggml.c:8784–8798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8782}
8783
8784static void ggml_compute_forward_tanh(
8785 const struct ggml_compute_params * params,
8786 const struct ggml_tensor * src0,
8787 struct ggml_tensor * dst) {
8788 switch (src0->type) {
8789 case GGML_TYPE_F32:
8790 {
8791 ggml_compute_forward_tanh_f32(params, src0, dst);
8792 } break;
8793 default:
8794 {
8795 GGML_ASSERT(false);
8796 } break;
8797 }
8798}
8799
8800// ggml_compute_forward_elu
8801

Callers 1

Calls 1

Tested by

no test coverage detected