Compute Library
 23.08
ComputeAnchorsInfo Class Reference

ComputeAnchors information class. More...

#include <Types.h>

Public Member Functions

 ComputeAnchorsInfo (float feat_width, float feat_height, float spatial_scale, size_t values_per_roi=4)
 Constructor. More...
 
float feat_height () const
 
float feat_width () const
 
float spatial_scale () const
 
size_t values_per_roi () const
 

Detailed Description

ComputeAnchors information class.

Definition at line 1358 of file Types.h.

Constructor & Destructor Documentation

◆ ComputeAnchorsInfo()

ComputeAnchorsInfo ( float  feat_width,
float  feat_height,
float  spatial_scale,
size_t  values_per_roi = 4 
)
inline

Constructor.

Parameters
[in]feat_widthFeature map width
[in]feat_heightFeature map height
[in]spatial_scaleFeature map scale
[in]values_per_roi(Optional)Values used to represent a ROI(Region Of Interest). Defaults to 4

Definition at line 1368 of file Types.h.

1369  : _feat_height(feat_height),
1370  _feat_width(feat_width),
1371  _spatial_scale(spatial_scale),
1372  _values_per_roi(values_per_roi)
1373  {
1374  }

Member Function Documentation

◆ feat_height()

float feat_height ( ) const
inline

Definition at line 1377 of file Types.h.

1378  {
1379  return _feat_height;
1380  }

Referenced by arm_compute::operator<<().

◆ feat_width()

float feat_width ( ) const
inline

Definition at line 1383 of file Types.h.

1384  {
1385  return _feat_width;
1386  }

Referenced by arm_compute::cpu::compute_all_anchors(), arm_compute::cpu::compute_all_anchors_qasymm16(), and arm_compute::operator<<().

◆ spatial_scale()

float spatial_scale ( ) const
inline

Definition at line 1389 of file Types.h.

1390  {
1391  return _spatial_scale;
1392  }

Referenced by arm_compute::cpu::compute_all_anchors(), arm_compute::cpu::compute_all_anchors_qasymm16(), and arm_compute::operator<<().

◆ values_per_roi()

size_t values_per_roi ( ) const
inline

Definition at line 1395 of file Types.h.

1396  {
1397  return _values_per_roi;
1398  }

The documentation for this class was generated from the following file:
arm_compute::ComputeAnchorsInfo::feat_height
float feat_height() const
Definition: Types.h:1377
arm_compute::ComputeAnchorsInfo::values_per_roi
size_t values_per_roi() const
Definition: Types.h:1395
arm_compute::ComputeAnchorsInfo::feat_width
float feat_width() const
Definition: Types.h:1383
arm_compute::ComputeAnchorsInfo::spatial_scale
float spatial_scale() const
Definition: Types.h:1389