File: common-ggml.h

package info (click to toggle)
ggml 0.9.7-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 20,368 kB
  • sloc: cpp: 131,204; ansic: 46,699; lisp: 11,788; python: 1,591; objc: 1,395; sh: 1,042; makefile: 72
file content (18 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "ggml.h"

#include <fstream>
#include <vector>
#include <string>

enum ggml_ftype ggml_parse_ftype(const char * str);

void ggml_print_ftypes(FILE * fp = stderr);

bool ggml_common_quantize_0(
        std::ifstream & finp,
        std::ofstream & fout,
        const ggml_ftype ftype,
        const std::vector<std::string> & to_quant,
        const std::vector<std::string> & to_skip);