| 37 | core::ModuleBuildContext & ctx, |
| 38 | const core::TensorValue & input, |
| 39 | const NormWeights & weights) const; |
| 40 | |
| 41 | static const core::ModuleSchema & static_schema() noexcept; |
| 42 | |
| 43 | private: |
| 44 | NormConfig config_; |
| 45 | }; |
| 46 | |
| 47 | enum class RMSNormLowering { |
| 48 | Default, |
| 49 | Vectorized, |
| 50 | }; |
| 51 | |
| 52 | class RMSNormModule { |
| 53 | public: |
| 54 | explicit RMSNormModule(NormConfig config, RMSNormLowering lowering = RMSNormLowering::Default); |
| 55 | |
| 56 | const core::ModuleSchema & schema() const noexcept; |
| 57 | const NormConfig & config() const noexcept; |
| 58 |
no outgoing calls
no test coverage detected