| 277 | } |
| 278 | |
| 279 | void CLDepthwiseConvolutionLayer::run() |
| 280 | { |
| 281 | prepare(); |
| 282 | |
| 283 | MemoryGroupResourceScope scope_mg(_memory_group); |
| 284 | |
| 285 | if (_needs_permute) |
| 286 | { |
| 287 | _permute_input_to_nhwc.run(); |
| 288 | } |
| 289 | CLScheduler::get().enqueue(*_dwc_native_kernel); |
| 290 | if (_needs_permute) |
| 291 | { |
| 292 | _permute_output_to_nchw.run(); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | void CLDepthwiseConvolutionLayer::prepare() |
| 297 | { |