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

Function load_prelu

src/models/heartmula/codec.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 core::BackendWeightStore & store,
182 const assets::TensorSource & source,
183 const std::string & prefix,
184 assets::TensorStorageType storage_type,
185 int64_t hidden_size) {
186 HeartCodecAdaLayerNormWeights weights;
187 weights.timestep_linear_1 = binding::linear_from_source(
188 store,
189 source,
190 prefix + ".emb.timestep_embedder.linear_1",
191 storage_type,

Callers 2

load_residual_unitFunction · 0.85

Calls 1

load_f32_tensorMethod · 0.80

Tested by

no test coverage detected