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

Class LinearModule

include/engine/framework/modules/linear_module.h:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20struct LinearWeights {
21 core::TensorValue weight;
22 std::optional<core::TensorValue> bias;
23};
24
25class LinearModule {
26public:
27 explicit LinearModule(LinearConfig config);
28
29 const LinearConfig & config() const noexcept;
30 const core::ModuleSchema & schema() const noexcept;
31
32 core::TensorValue build(
33 core::ModuleBuildContext & ctx,
34 const core::TensorValue & input,
35 const LinearWeights & weights) const;
36
37 static const core::ModuleSchema & static_schema() noexcept;
38
39private:
40 LinearConfig config_;
41};

Callers 15

buildMethod · 0.85
buildMethod · 0.85
build_lstm_sequenceFunction · 0.85
buildMethod · 0.85
build_feed_forwardFunction · 0.85
build_wavlm_graph_layersFunction · 0.85
build_self_attentionFunction · 0.85
build_feed_forwardFunction · 0.85
build_hubert_graphFunction · 0.85
build_mlpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected