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

Method release_storage

src/models/vibevoice/assets.cpp:282–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 float value = 0.0F;
281 switch (storage_type) {
282 case assets::TensorStorageType::F32:
283 if (tensor.bytes.size() != sizeof(float)) {
284 throw std::runtime_error("VibeVoice F32 scalar byte size mismatch: " + name);
285 }
286 std::memcpy(&value, tensor.bytes.data(), sizeof(value));
287 return value;
288 case assets::TensorStorageType::F16: {
289 if (tensor.bytes.size() != sizeof(ggml_fp16_t)) {

Callers 15

OmniVoiceSessionMethod · 0.45
HTDemucsSessionMethod · 0.45
load_backend_weightsFunction · 0.45
GraphMethod · 0.45
AceStepPlannerRuntimeMethod · 0.45
ImplMethod · 0.45
ImplMethod · 0.45
load_backend_weightsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected