Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
201
struct gguf_tensor_info {
Callers
7
get
Method · 0.45
readSerializableObjectFromFile
Method · 0.45
quantize
Method · 0.45
gguf_set_arr_data
Function · 0.45
nextService
Method · 0.45
getStickyEvent
Method · 0.45
removeStickyEvent
Method · 0.45
Calls
2
gguf_type_size
Function · 0.85
size
Method · 0.65
Tested by
1
quantize
Method · 0.36