| 232 | } |
| 233 | |
| 234 | ggml_tensor * llm_build_gemma3n_iswa::calc_magnitude(ggml_tensor * x) { |
| 235 | return ggml_sqrt(ctx0, ggml_sum_rows(ctx0, ggml_sqr(ctx0, x))); |
| 236 | } |
| 237 | |
| 238 | // get 2D slice view from a 3D tensor, the idx corresponds to the 3rd dim |
| 239 | ggml_tensor * llm_build_gemma3n_iswa::view_2d_slice(ggml_tensor * x, int idx) { |
nothing calls this directly
no test coverage detected