MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / cast

Method cast

subprojects/llama.cpp/ggml/src/gguf.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void cast(const enum gguf_type new_type) {
195 const size_t new_type_size = gguf_type_size(new_type);
196 GGML_ASSERT(data.size() % new_type_size == 0);
197 type = new_type;
198 }
199};
200
201struct gguf_tensor_info {

Callers 7

getMethod · 0.45
quantizeMethod · 0.45
gguf_set_arr_dataFunction · 0.45
nextServiceMethod · 0.45
getStickyEventMethod · 0.45
removeStickyEventMethod · 0.45

Calls 2

gguf_type_sizeFunction · 0.85
sizeMethod · 0.65

Tested by 1

quantizeMethod · 0.36