| 49 | }; |
| 50 | |
| 51 | class SliceModule { |
| 52 | public: |
| 53 | explicit SliceModule(SliceConfig config); |
| 54 | |
| 55 | const SliceConfig & config() const noexcept; |
| 56 | const core::ModuleSchema & schema() const noexcept; |
| 57 | core::TensorValue build(core::ModuleBuildContext & ctx, const core::TensorValue & input) const; |
| 58 | static const core::ModuleSchema & static_schema() noexcept; |
| 59 | |
| 60 | private: |
| 61 | SliceConfig config_; |
| 62 | }; |
| 63 | |
| 64 | struct ConcatConfig { |
| 65 | int axis = 0; |
no outgoing calls
no test coverage detected