MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / ~F0Runner

Method ~F0Runner

src/framework/modules/hift_vocoder.cpp:576–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574 }
575
576 ~F0Runner() {
577 if (weights_ != nullptr && graph_ != nullptr) {
578 engine::core::release_backend_graph_resources(weights_->execution_context->backend(), graph_);
579 }
580 if (gallocr_ != nullptr) {
581 ggml_gallocr_free(gallocr_);
582 }
583 if (ctx_ != nullptr) {
584 ggml_free(ctx_);
585 }
586 }
587
588 bool supports(const HiftVocoderWeights & weights, int64_t frames) const {
589 return weights_ == &weights && capacity_frames_ == frames;

Callers

nothing calls this directly

Calls 4

ggml_gallocr_freeFunction · 0.85
ggml_freeFunction · 0.85
backendMethod · 0.45

Tested by

no test coverage detected