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

Method build

src/framework/modules/norm_modules.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 throw std::runtime_error("NormConfig.hidden_size must be positive");
178 }
179 if (!(config.eps > 0.0f)) {
180 throw std::runtime_error("NormConfig.eps must be positive");
181 }
182}
183
184template <typename NormFn>
185core::TensorValue build_norm(
186 core::ModuleBuildContext & ctx,
187 const core::TensorValue & input,

Callers 15

transpose_bct_btcFunction · 0.45
add_sameFunction · 0.45
group_norm_affineFunction · 0.45
masked_group_norm_affineFunction · 0.45
grouped_pos_convFunction · 0.45
build_feed_forwardFunction · 0.45
build_wavlm_graph_layersFunction · 0.45
transpose_bct_btcFunction · 0.45
add_sameFunction · 0.45
grouped_pos_convFunction · 0.45
build_self_attentionFunction · 0.45

Calls 13

build_normFunction · 0.85
validate_rank_betweenFunction · 0.85
wrap_tensorFunction · 0.85
ggml_normFunction · 0.85
validate_shapeFunction · 0.85
reshape_tensorFunction · 0.85
ggml_mulFunction · 0.85
ggml_addFunction · 0.85
repeat_channelsFunction · 0.85
same_shapeFunction · 0.70

Tested by

no test coverage detected