ONE - On-device Neural Engine
|
#include <DetectionPostProcessLayer.h>
Data Structures | |
struct | Allocations |
struct | CenterSizeBox |
struct | CornerBox |
struct | DetectionPostProcessParameters |
Public Types | |
enum | SelectionFormat { BOX_INDEX = 1 , CLASS_INDEX = 0 } |
Public Member Functions | |
DetectionPostProcessLayer () | |
virtual | ~DetectionPostProcessLayer () |
void | configure (DetectionPostProcessParameters parameters) |
void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
Definition at line 33 of file DetectionPostProcessLayer.h.
Enumerator | |
---|---|
BOX_INDEX | |
CLASS_INDEX |
Definition at line 70 of file DetectionPostProcessLayer.h.
|
inline |
Definition at line 82 of file DetectionPostProcessLayer.h.
|
virtual |
Definition at line 303 of file DetectionPostProcessLayer.cc.
References onert::backend::cpu::ops::DetectionPostProcessLayer::Allocations::selections_buffer.
void onert::backend::cpu::ops::DetectionPostProcessLayer::configure | ( | DetectionPostProcessParameters | parameters | ) |
Definition at line 275 of file DetectionPostProcessLayer.cc.
References onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::max_detections, and onert::backend::cpu::ops::DetectionPostProcessLayer::Allocations::selections_buffer.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 281 of file DetectionPostProcessLayer.cc.
References onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::box_classes_output, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::box_coords_output, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::box_scores_output, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::boxes_descr, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::boxes_input, onert::backend::ITensor::buffer(), onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::max_detections, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::num_selections_output, onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::scores_input, and onert::backend::cpu::ops::DetectionPostProcessLayer::DetectionPostProcessParameters::scrores_descr.
Referenced by package.infer.session::inference().