virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the DetectionPostProcess type.
DetectionPostProcessLayer(const DetectionPostProcessDescriptor ¶m, const char *name)
Constructor to create a DetectionPostProcessLayer.
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
This layer represents a detection postprocess operator.
~DetectionPostProcessLayer()=default
Default destructor.
std::unique_ptr< ScopedCpuTensorHandle > m_Anchors
A unique pointer to store Anchor values.
ConstantTensors GetConstantTensorsByRef() override
Retrieve the handles to the constant values stored by the layer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of DetectionPostProcessLayer.
DetectionPostProcessLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.