| 12 | }; |
| 13 | |
| 14 | class ReshapeModule { |
| 15 | public: |
| 16 | explicit ReshapeModule(ReshapeConfig config); |
| 17 | |
| 18 | const ReshapeConfig & config() const noexcept; |
| 19 | const core::ModuleSchema & schema() const noexcept; |
| 20 | core::TensorValue build(core::ModuleBuildContext & ctx, const core::TensorValue & input) const; |
| 21 | static const core::ModuleSchema & static_schema() noexcept; |
| 22 | |
| 23 | private: |
| 24 | ReshapeConfig config_; |
| 25 | }; |
| 26 | |
| 27 | struct TransposeConfig { |
| 28 | std::array<int, core::kMaxTensorRank> axes = {0, 1, 2, 3}; |
no outgoing calls
no test coverage detected