| 6 | #include <string> |
| 7 | |
| 8 | static std::string common_ggml_ne_string(const ggml_tensor * t) { |
| 9 | std::string str; |
| 10 | for (int i = 0; i < GGML_MAX_DIMS; ++i) { |
| 11 | str += std::to_string(t->ne[i]); |
| 12 | if (i + 1 < GGML_MAX_DIMS) { |
| 13 | str += ", "; |
| 14 | } |
| 15 | } |
| 16 | return str; |
| 17 | } |
| 18 | |
| 19 | static float common_ggml_get_float_value(const uint8_t * data, |
| 20 | ggml_type type, |
no test coverage detected