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

Method prepare_decode

src/models/stable_audio/same_autoencoder.cpp:1172–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170}
1171
1172StableAudioSameRuntime::~StableAudioSameRuntime() = default;
1173
1174const StableAudioSameWeights & require_same_weights(
1175 std::unique_ptr<StableAudioSameWeights> & weights,
1176 core::ExecutionContext & execution,
1177 const std::shared_ptr<const StableAudioAssets> & assets,
1178 assets::TensorStorageType weight_storage_type) {
1179 if (!weights) {
1180 weights = std::make_unique<StableAudioSameWeights>(load_stable_audio_same_weights(
1181 *assets,

Callers 1

prepareMethod · 0.45

Calls 2

decoder_graph_latentsFunction · 0.85
matchesMethod · 0.45

Tested by

no test coverage detected