| 1565 | } |
| 1566 | |
| 1567 | inline static void ggml_vec_norm_inv_f32(const int n, float * s, const float * x) { |
| 1568 | ggml_vec_norm_f32(n, s, x); |
| 1569 | *s = 1.f/(*s); |
| 1570 | } |
| 1571 | |
| 1572 | inline static void ggml_vec_argmax_f32(const int n, int * s, const float * x) { |
| 1573 | float max = -INFINITY; |
no test coverage detected