MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / prepare

Method prepare

src/runtime/NEON/functions/NEDeconvolutionLayer.cpp:315–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void 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

Callers

nothing calls this directly

Calls 5

is_usedMethod · 0.80
mark_as_unusedMethod · 0.80
allocateMethod · 0.45
allocatorMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected