| 224 | return true; |
| 225 | } |
| 226 | void do_run() override |
| 227 | { |
| 228 | // Acquire memory for the memory groups |
| 229 | memory_group0->acquire(); |
| 230 | memory_group1->acquire(); |
| 231 | |
| 232 | conv0->run(); |
| 233 | act0.run(); |
| 234 | pool0.run(); |
| 235 | conv1->run(); |
| 236 | act1.run(); |
| 237 | pool1.run(); |
| 238 | fc0->run(); |
| 239 | act2.run(); |
| 240 | softmax->run(); |
| 241 | |
| 242 | // Release memory |
| 243 | memory_group0->release(); |
| 244 | memory_group1->release(); |
| 245 | } |
| 246 | |
| 247 | private: |
| 248 | // The src tensor should contain the input image |
no test coverage detected