| 19 | }; |
| 20 | |
| 21 | class LayerNormModule { |
| 22 | public: |
| 23 | explicit LayerNormModule(NormConfig config); |
| 24 | |
| 25 | const core::ModuleSchema & schema() const noexcept; |
| 26 | const NormConfig & config() const noexcept; |
| 27 | |
| 28 | core::TensorValue build( |
| 29 | core::ModuleBuildContext & ctx, |
| 30 | const core::TensorValue & input, |
| 31 | const NormWeights & weights) const; |
| 32 | |
| 33 | static const core::ModuleSchema & static_schema() noexcept; |
| 34 | |
| 35 | private: |
| 36 | NormConfig config_; |
| 37 | }; |
| 38 | |
| 39 | class RMSNormModule { |
| 40 | public: |
no outgoing calls
no test coverage detected