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

Function norm_weights

src/framework/modules/wavlm_encoder.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93NormWeights norm_weights(const WavlmEncoderWeights & weights, const std::string & prefix) {
94 return NormWeights{
95 require_tensor(weights, prefix + ".weight"),
96 require_tensor(weights, prefix + ".bias")};
97}
98
99LinearWeights linear_weights(const WavlmEncoderWeights & weights, const std::string & prefix) {
100 return LinearWeights{

Callers 1

build_wavlm_graph_layersFunction · 0.70

Calls 1

require_tensorFunction · 0.70

Tested by

no test coverage detected