| 392 | } |
| 393 | |
| 394 | void CLGEMMDeconvolutionLayer::run() |
| 395 | { |
| 396 | prepare(); |
| 397 | |
| 398 | MemoryGroupResourceScope scope_mg(_memory_group); |
| 399 | |
| 400 | if (_is_nchw) |
| 401 | { |
| 402 | _permute_input_to_nhwc.run(); |
| 403 | } |
| 404 | |
| 405 | if (_is_quantized) |
| 406 | { |
| 407 | _mm_gemmlowp.run(); |
| 408 | } |
| 409 | else |
| 410 | { |
| 411 | _mm_gemm.run(); |
| 412 | } |
| 413 | |
| 414 | CLScheduler::get().enqueue(*_deconv_reshape, false); |
| 415 | |
| 416 | if (_is_quantized) |
| 417 | { |
| 418 | _gemmlowp_output_stage.run(); |
| 419 | } |
| 420 | |
| 421 | if (_padded_input) |
| 422 | { |
| 423 | _slice_gemm.run(); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | void CLGEMMDeconvolutionLayer::prepare() |
| 428 | { |