ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / examples / common-ggml.h
| 1 | #pragma once |
| 2 | |
| 3 | #include "ggml.h" |
| 4 | |
| 5 | #include <fstream> |
| 6 | #include <vector> |
| 7 | #include <string> |
| 8 | |
| 9 | enum ggml_ftype ggml_parse_ftype(const char * str); |
| 10 | |
| 11 | void ggml_print_ftypes(FILE * fp = stderr); |
| 12 | |
| 13 | bool ggml_common_quantize_0( |
| 14 | std::ifstream & finp, |
| 15 | std::ofstream & fout, |
| 16 | const ggml_ftype ftype, |
| 17 | const std::vector<std::string> & to_quant, |
| 18 | const std::vector<std::string> & to_skip); |