23.11
|
Go to the documentation of this file.
36 : _info(detection_info)
53 for (
unsigned int i = 0; i < 4; ++i)
constexpr EdgeID EmptyEdgeID
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
unsigned int max_detections() const
Get max detections.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
#define ARM_COMPUTE_ERROR(msg)
Print the given message then throw an std::runtime_error.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
DetectionPostProcessLayerInfo detection_post_process_info() const
DetectionPostProcess metadata accessor.
unsigned int max_classes_per_detection() const
Get max_classes per detection.
virtual void visit(INode &n)=0
Visit INode.
@ DetectionPostProcessLayer
TensorShape shape
Tensor shape.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
NodeType type() const override
Returns node's type.
Detection Output layer info.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
void accept(INodeVisitor &v) override
Accepts a node visitor.
Copyright (c) 2017-2023 Arm Limited.
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.
@ F32
32-bit floating-point number
DataType data_type
Data type.
DetectionPostProcessLayerNode(DetectionPostProcessLayerInfo detection_info)
Constructor.