23.05
|
ROI Pooling Layer Information class. More...
#include <Types.h>
Public Member Functions | |
ROIPoolingLayerInfo (unsigned int pooled_width, unsigned int pooled_height, float spatial_scale, unsigned int sampling_ratio=0) | |
Constructor. More... | |
unsigned int | pooled_width () const |
Get the pooled width of the layer. More... | |
unsigned int | pooled_height () const |
Get the pooled height of the layer. More... | |
float | spatial_scale () const |
Get the spatial scale. More... | |
unsigned int | sampling_ratio () const |
Get sampling ratio. More... | |
|
inline |
Constructor.
[in] | pooled_width | Pooled width of the layer. |
[in] | pooled_height | Pooled height of the layer. |
[in] | spatial_scale | Spatial scale to be applied to the ROI coordinates and dimensions. |
[in] | sampling_ratio | Number of samples to include in each pooling region (if set to zero, a ceil(roi_dims/pooling_dims)) |
Definition at line 1428 of file Types.h.
|
inline |
Get the pooled height of the layer.
Definition at line 1438 of file Types.h.
Referenced by arm_compute::misc::shape_calculator::compute_roi_align_shape(), NEROIPoolingLayerKernel::configure(), CLROIPoolingLayerKernel::configure(), CLROIAlignLayerKernel::configure(), ROIAlignLayerNode::configure_output(), arm_compute::graph::backends::detail::create_roi_align_layer(), arm_compute::operator<<(), arm_compute::cpu::roi_align(), arm_compute::test::validation::reference::roi_align_layer(), arm_compute::test::validation::reference::roi_pool_layer(), NEROIPoolingLayerKernel::run(), and CLROIPoolingLayerKernel::validate().
|
inline |
Get the pooled width of the layer.
Definition at line 1433 of file Types.h.
Referenced by arm_compute::misc::shape_calculator::compute_roi_align_shape(), NEROIPoolingLayerKernel::configure(), CLROIPoolingLayerKernel::configure(), CLROIAlignLayerKernel::configure(), ROIAlignLayerNode::configure_output(), arm_compute::graph::backends::detail::create_roi_align_layer(), arm_compute::operator<<(), arm_compute::cpu::roi_align(), arm_compute::test::validation::reference::roi_align_layer(), arm_compute::test::validation::reference::roi_pool_layer(), NEROIPoolingLayerKernel::run(), and CLROIPoolingLayerKernel::validate().
|
inline |
Get sampling ratio.
Definition at line 1448 of file Types.h.
Referenced by CLROIAlignLayerKernel::configure(), arm_compute::cpu::roi_align(), and arm_compute::test::validation::reference::roi_align_layer().
|
inline |
Get the spatial scale.
Definition at line 1443 of file Types.h.
Referenced by CLROIPoolingLayerKernel::configure(), CLROIAlignLayerKernel::configure(), arm_compute::operator<<(), arm_compute::cpu::roi_align(), arm_compute::test::validation::reference::roi_align_layer(), arm_compute::test::validation::reference::roi_pool_layer(), and NEROIPoolingLayerKernel::run().