MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / ggml_opt_dataset_free

Function ggml_opt_dataset_free

ggml/src/ggml-opt.cpp:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void ggml_opt_dataset_free(ggml_opt_dataset_t dataset) {
133 ggml_backend_buffer_free(dataset->buf);
134 ggml_free(dataset->ctx);
135 delete dataset;
136}
137
138int64_t ggml_opt_dataset_ndata(ggml_opt_dataset_t dataset) {
139 return dataset->ndata;

Callers 2

helper_free_ctx_dataFunction · 0.85
test_regressionFunction · 0.85

Calls 2

ggml_backend_buffer_freeFunction · 0.85
ggml_freeFunction · 0.85

Tested by 2

helper_free_ctx_dataFunction · 0.68
test_regressionFunction · 0.68