| 30 | }; |
| 31 | |
| 32 | class TransposeModule { |
| 33 | public: |
| 34 | explicit TransposeModule(TransposeConfig config); |
| 35 | |
| 36 | const TransposeConfig & config() const noexcept; |
| 37 | const core::ModuleSchema & schema() const noexcept; |
| 38 | core::TensorValue build(core::ModuleBuildContext & ctx, const core::TensorValue & input) const; |
| 39 | static const core::ModuleSchema & static_schema() noexcept; |
| 40 | |
| 41 | private: |
| 42 | TransposeConfig config_; |
| 43 | }; |
| 44 | |
| 45 | struct SliceConfig { |
| 46 | int axis = 0; |
no outgoing calls
no test coverage detected