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

Class LayerNormModule

include/engine/framework/modules/norm_modules.h:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19struct NormWeights {
20 std::optional<core::TensorValue> weight;
21 std::optional<core::TensorValue> bias;
22};
23
24struct ChannelAffineWeights {
25 core::TensorValue scale;
26 core::TensorValue bias;
27};
28
29class LayerNormModule {
30public:
31 explicit LayerNormModule(NormConfig config);
32
33 const core::ModuleSchema & schema() const noexcept;
34 const NormConfig & config() const noexcept;
35
36 core::TensorValue build(
37 core::ModuleBuildContext & ctx,
38 const core::TensorValue & input,
39 const NormWeights & weights) const;
40

Callers 15

buildMethod · 0.85
buildMethod · 0.85
apply_adalnFunction · 0.85
build_wavlm_graph_layersFunction · 0.85
build_hubert_graphFunction · 0.85
EncoderGraphMethod · 0.85
rebuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected