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

Function require_assets

src/models/heartmula/codec.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44struct FlowEstimatorBuildResult {
45 core::TensorValue output;
46 ggml_tensor * first_stage_state = nullptr;
47};
48
49void require_assets(const HeartMuLaAssets & assets) {
50 if (assets.codec_weights == nullptr) {
51 throw std::runtime_error("HeartCodec requires codec weights");
52 }
53}

Callers 1

load_heartcodec_weightsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected