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

Method clear_graph

src/models/omnivoice/audio_tokenizer.cpp:2207–2216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2205
2206private:
2207 void clear_graph() {
2208 if (graph_ != nullptr) {
2209 engine::core::release_backend_graph_resources(backend_, graph_);
2210 graph_ = nullptr;
2211 }
2212 output_ = nullptr;
2213 code_inputs_.clear();
2214 decoder_block_masks_.clear();
2215 ctx_.reset();
2216 }
2217
2218 std::shared_ptr<const OmniVoiceAssets> assets_;
2219 std::shared_ptr<const AudioTokenizerWeights> weights_;

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected