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

Method run

src/runtime/CL/functions/CLGenerateProposalsLayer.cpp:407–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407void CLGenerateProposalsLayer::run()
408{
409 // Acquire all the temporaries
410 MemoryGroupResourceScope scope_mg(_memory_group);
411
412 // Compute all the anchors
413 CLScheduler::get().enqueue(*_compute_anchors_kernel, false);
414
415 // Transpose and reshape the inputs
416 if (!_is_nhwc)
417 {
418 _permute_deltas.run();
419 _permute_scores.run();
420 }
421 _flatten_deltas.run();
422 _flatten_scores.run();
423
424 if (_is_qasymm8)
425 {
426 _dequantize_anchors->run();
427 _dequantize_deltas->run();
428 }
429
430 // Build the boxes
431 CLScheduler::get().enqueue(*_bounding_box_kernel, false);
432
433 if (_is_qasymm8)
434 {
435 _quantize_all_proposals->run();
436 }
437
438 // Non maxima suppression
439 run_cpp_nms_kernel();
440 // Add dummy batch indexes
441 CLScheduler::get().enqueue(*_pad_kernel, true);
442}
443} // namespace arm_compute

Callers 1

run_cpp_nms_kernelMethod · 0.45

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected