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

Function load_layer_norm

src/models/qwen3_tts/tokenizer_speech_decoder.cpp:337–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 return {source.require_f32(prefix + ".weight", {hidden}), eps};
336}
337
338LayerNormWeights load_layer_norm(
339 const assets::TensorSource & source,
340 const std::string & prefix,
341 int64_t hidden,
342 float eps = 1.0e-6F) {
343 return {
344 source.require_f32(prefix + ".weight", {hidden}),
345 source.require_f32(prefix + ".bias", {hidden}),
346 eps,
347 };
348}
349
350std::shared_ptr<const Qwen3SpeechTokenizerDecoderWeights> load_weights(

Callers 1

load_weightsFunction · 0.85

Calls 1

require_f32Method · 0.45

Tested by

no test coverage detected