| 43 | }; |
| 44 | |
| 45 | class GeluModule { |
| 46 | public: |
| 47 | explicit GeluModule(GeluConfig config = {}); |
| 48 | |
| 49 | const GeluConfig & config() const noexcept; |
| 50 | const core::ModuleSchema & schema() const noexcept; |
| 51 | core::TensorValue build(core::ModuleBuildContext & ctx, const core::TensorValue & input) const; |
| 52 | static const core::ModuleSchema & static_schema() noexcept; |
| 53 | |
| 54 | private: |
| 55 | GeluConfig config_; |
| 56 | }; |
| 57 | |
| 58 | class SiluModule { |
| 59 | public: |
no outgoing calls
no test coverage detected