| 313 | } |
| 314 | |
| 315 | void NEDeconvolutionLayer::prepare() |
| 316 | { |
| 317 | if (!_is_prepared) |
| 318 | { |
| 319 | ARM_COMPUTE_ERROR_ON(!_original_weights->is_used()); |
| 320 | |
| 321 | // Run weights flipping and mark original weights tensor as unused |
| 322 | _weights_flipped.allocator()->allocate(); |
| 323 | _flip_weights.run(); |
| 324 | _original_weights->mark_as_unused(); |
| 325 | |
| 326 | // Prepare convolution |
| 327 | _conv_f.prepare(); |
| 328 | |
| 329 | _is_prepared = true; |
| 330 | } |
| 331 | } |
| 332 | } // namespace arm_compute |
nothing calls this directly
no test coverage detected