Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PABannier/bark.cpp
/ write_safe
Function
write_safe
bark.cpp:172–174 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
170
171
template <typename T>
172
static void write_safe(std::ofstream& fout, T& dest) {
173
fout.write((char*)&dest, sizeof(T));
174
}
175
176
static void bark_print_statistics(gpt_model* model) {
177
printf(
"\n\n"
);
Callers
3
ggml_quantize_weights
Function · 0.70
bark_model_weights_quantize
Function · 0.70
bark_model_quantize
Function · 0.70
Calls
1
write
Method · 0.80
Tested by
no test coverage detected