ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-zdnn / quantize.hpp
| 1 | #ifndef GGML_ZDNN_QUANTIZE_HPP |
| 2 | #define GGML_ZDNN_QUANTIZE_HPP |
| 3 | |
| 4 | #include "common.hpp" |
| 5 | |
| 6 | void ggml_zdnn_quantize_inputs(int32_t n_threads, |
| 7 | const ggml_tensor * inputs, |
| 8 | int64_t group_size, |
| 9 | const float * channel_scales, |
| 10 | int8_t * quants, |
| 11 | int8_t * residuals, |
| 12 | float * scales); |
| 13 | |
| 14 | #endif // GGML_ZDNN_QUANTIZE_HPP |