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