| 23 | namespace Express { |
| 24 | |
| 25 | static const StaticModule* getStaticModule(const Module* m) { |
| 26 | if (m->type() == "StaticModule") { |
| 27 | return static_cast<const StaticModule*>(m); |
| 28 | } |
| 29 | if (m->getChildren().empty()) { |
| 30 | return nullptr; |
| 31 | } |
| 32 | return getStaticModule(m->getChildren()[0].get()); |
| 33 | } |
| 34 | |
| 35 | static std::vector<std::shared_ptr<BufferStorage>> preRearrangeWeights( // NOLINT |
| 36 | Schedule::ScheduleInfo& scheduleInfo, Backend* firstbackend, Backend* backupBackend, const Module* base = nullptr) { |
no test coverage detected