21.08
|
PriorBox layer info. More...
#include <Types.h>
Public Member Functions | |
PriorBoxLayerInfo () | |
Default Constructor. More... | |
PriorBoxLayerInfo (const std::vector< float > &min_sizes, const std::vector< float > &variances, float offset, bool flip=true, bool clip=false, const std::vector< float > &max_sizes={}, const std::vector< float > &aspect_ratios={}, const Coordinates2D &img_size=Coordinates2D{ 0, 0 }, const std::array< float, 2 > &steps={ { 0.f, 0.f } }) | |
Constructor. More... | |
std::vector< float > | min_sizes () const |
Get min sizes. More... | |
std::vector< float > | variances () const |
Get min variances. More... | |
std::array< float, 2 > | steps () const |
Get the step coordinates. More... | |
Coordinates2D | img_size () const |
Get the image size coordinates. More... | |
float | offset () const |
Get the offset. More... | |
bool | flip () const |
Get the flip value. More... | |
bool | clip () const |
Get the clip value. More... | |
std::vector< float > | max_sizes () const |
Get max sizes. More... | |
std::vector< float > | aspect_ratios () const |
Get aspect ratios. More... | |
|
inline |
|
inline |
Constructor.
[in] | min_sizes | Min sizes vector. |
[in] | variances | Variances vector. |
[in] | offset | Offset value. |
[in] | flip | (Optional) Flip the aspect ratios. |
[in] | clip | (Optional) Clip coordinates so that they're within [0,1]. |
[in] | max_sizes | (Optional) Max sizes vector. |
[in] | aspect_ratios | (Optional) Aspect ratios of the boxes. |
[in] | img_size | (Optional) Image size. |
[in] | steps | (Optional) Step values. |
Definition at line 792 of file Types.h.
|
inline |
Get aspect ratios.
Definition at line 869 of file Types.h.
Referenced by PriorBoxLayerNode::compute_output_descriptor(), arm_compute::misc::shape_calculator::compute_prior_box_shape(), NEPriorBoxLayerKernel::configure(), CLPriorBoxLayer::configure(), CLPriorBoxLayerKernel::configure(), arm_compute::test::validation::reference::prior_box_layer(), CLPriorBoxLayerKernel::run(), and CLPriorBoxLayerKernel::validate().
|
inline |
Get the clip value.
Definition at line 859 of file Types.h.
Referenced by CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), and arm_compute::to_string().
|
inline |
Get the flip value.
Definition at line 854 of file Types.h.
Referenced by arm_compute::operator<<(), and arm_compute::to_string().
|
inline |
Get the image size coordinates.
Definition at line 844 of file Types.h.
Referenced by CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), and arm_compute::to_string().
|
inline |
Get max sizes.
Definition at line 864 of file Types.h.
Referenced by PriorBoxLayerNode::compute_output_descriptor(), arm_compute::misc::shape_calculator::compute_prior_box_shape(), NEPriorBoxLayerKernel::configure(), CLPriorBoxLayer::configure(), CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), CLPriorBoxLayerKernel::run(), arm_compute::to_string(), and CLPriorBoxLayerKernel::validate().
|
inline |
Get min sizes.
Definition at line 829 of file Types.h.
Referenced by PriorBoxLayerNode::compute_output_descriptor(), arm_compute::misc::shape_calculator::compute_prior_box_shape(), NEPriorBoxLayerKernel::configure(), CLPriorBoxLayer::configure(), CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), CLPriorBoxLayerKernel::run(), arm_compute::to_string(), and CLPriorBoxLayerKernel::validate().
|
inline |
Get the offset.
Definition at line 849 of file Types.h.
Referenced by CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), and arm_compute::to_string().
|
inline |
Get the step coordinates.
Definition at line 839 of file Types.h.
Referenced by CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), and arm_compute::to_string().
|
inline |
Get min variances.
Definition at line 834 of file Types.h.
Referenced by CLPriorBoxLayerKernel::configure(), arm_compute::operator<<(), arm_compute::test::validation::reference::prior_box_layer(), and arm_compute::to_string().