| 8782 | } |
| 8783 | |
| 8784 | static 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 |
no test coverage detected