| 60 | }; |
| 61 | |
| 62 | class Conv2dModule { |
| 63 | public: |
| 64 | explicit Conv2dModule(Conv2dConfig config); |
| 65 | |
| 66 | const Conv2dConfig & config() const noexcept; |
| 67 | const core::ModuleSchema & schema() const noexcept; |
| 68 | |
| 69 | core::TensorValue build( |
| 70 | core::ModuleBuildContext & ctx, |
| 71 | const core::TensorValue & input, |
| 72 | const Conv2dWeights & weights) const; |
| 73 | |
| 74 | static const core::ModuleSchema & static_schema() noexcept; |
| 75 | |
| 76 | private: |
| 77 | Conv2dConfig config_; |
| 78 | }; |
| 79 | |
| 80 | struct CausalConv2dConfig { |
| 81 | Conv2dConfig conv; |
no outgoing calls
no test coverage detected