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 config.cuda_f16_output ? GGML_TYPE_F16 : GGML_TYPE_F32);
178 }
179 return result;
180}
181
182void validate_norm_config(const NormConfig & config) {
183 if (config.hidden_size <= 0) {
184 throw std::runtime_error("NormConfig.hidden_size must be positive");
185 }
186 if (!(config.eps > 0.0f)) {
187 throw std::runtime_error("NormConfig.eps must be positive");

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