36 : _info(detection_info)
52 for(
unsigned int i = 0; i < 4; ++i)
75 output_desc.shape =
TensorShape(kNumCoordBox, num_detected_box, kBatchSize);
80 output_desc.shape =
TensorShape(num_detected_box, kBatchSize);
unsigned int max_detections() const
Get max detections.
#define ARM_COMPUTE_ERROR(msg)
Print the given message then throw an std::runtime_error.
1 channel, 1 F32 per channel
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
Copyright (c) 2017-2021 Arm Limited.
TensorDescriptor & desc()
TensorInfo metadata accessor.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
virtual void visit(INode &n)=0
Visit INode.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
DetectionPostProcessLayerInfo detection_post_process_info() const
DetectionPostProcess metadata accessor.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
constexpr EdgeID EmptyEdgeID
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
unsigned int max_classes_per_detection() const
Get max_classes per detection.
NodeType type() const override
Returns node's type.
Detection Output layer info.
TensorID output_id(size_t idx) const
Returns the tensor ID of a given output of the node.
constexpr TensorID NullTensorID
Constant NodeID specifying an equivalent of null node.
DetectionPostProcessLayerNode(DetectionPostProcessLayerInfo detection_info)
Constructor.
void accept(INodeVisitor &v) override
Accepts a node visitor.