virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the DetectionPostProcess type.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
The model does not specify the output shapes.
ImmutableConstantTensors GetConstantTensorsByRef() const 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.
std::shared_ptr< ConstTensorHandle > m_Anchors
A unique pointer to store Anchor values.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
~DetectionPostProcessLayer()=default
Default destructor.
DetectionPostProcessLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
DetectionPostProcessLayer(const DetectionPostProcessDescriptor ¶m, const char *name)
Constructor to create a DetectionPostProcessLayer.
This layer represents a detection postprocess operator.