21.02
|
Container for valid region of a window. More...
#include <Types.h>
Public Member Functions | |
ValidRegion () | |
Default constructor. More... | |
ValidRegion (const ValidRegion &)=default | |
Allow instances of this class to be copy constructed. More... | |
ValidRegion (ValidRegion &&)=default | |
Allow instances of this class to be move constructed. More... | |
ValidRegion & | operator= (const ValidRegion &)=default |
Allow instances of this class to be copied. More... | |
ValidRegion & | operator= (ValidRegion &&)=default |
Allow instances of this class to be moved. More... | |
~ValidRegion ()=default | |
Default destructor. More... | |
ValidRegion (const Coordinates &an_anchor, const TensorShape &a_shape) | |
Constructor for a valid region with default number of dimensions. More... | |
ValidRegion (const Coordinates &an_anchor, const TensorShape &a_shape, size_t num_dimensions) | |
Constructor for a valid region with specified number of dimensions. More... | |
int | start (unsigned int d) const |
Return the start of the valid region for the given dimension d . More... | |
int | end (unsigned int d) const |
Return the end of the valid region for the given dimension d . More... | |
ValidRegion & | set (size_t dimension, int start, size_t size) |
Accessor to set the value of anchor and shape for one of the dimensions. More... | |
Data Fields | |
Coordinates | anchor |
Anchor for the start of the valid region. More... | |
TensorShape | shape |
Shape of the valid region. More... | |
|
inline |
Default constructor.
Definition at line 191 of file Types.h.
References arm_compute::test::validation::shape.
|
default |
Allow instances of this class to be copy constructed.
|
default |
Allow instances of this class to be move constructed.
|
default |
Default destructor.
|
inline |
Constructor for a valid region with default number of dimensions.
[in] | an_anchor | Anchor for the start of the valid region. |
[in] | a_shape | Shape of the valid region. |
Definition at line 213 of file Types.h.
References arm_compute::test::validation::shape.
|
inline |
Constructor for a valid region with specified number of dimensions.
[in] | an_anchor | Anchor for the start of the valid region. |
[in] | a_shape | Shape of the valid region. |
[in] | num_dimensions | Number of dimensions (must be >= number of dimensions of anchor and shape). |
Definition at line 226 of file Types.h.
References ARM_COMPUTE_ERROR_ON, and arm_compute::test::validation::shape.
|
inline |
Return the end of the valid region for the given dimension d
.
Definition at line 240 of file Types.h.
References arm_compute::test::validation::shape.
Referenced by CLLKTrackerStage0Kernel::configure(), CLLKTrackerStage1Kernel::configure(), and arm_compute::test::is_in_valid_region().
|
default |
Allow instances of this class to be copied.
|
default |
Allow instances of this class to be moved.
|
inline |
Accessor to set the value of anchor and shape for one of the dimensions.
[in] | dimension | Dimension for which the value is set. |
[in] | start | Value to be set in anchor for the dimension. |
[in] | size | Value to be set in shape for the dimension. |
Definition at line 253 of file Types.h.
References ValidRegion::set(), and arm_compute::test::validation::shape.
Referenced by ValidRegion::set().
|
inline |
Return the start of the valid region for the given dimension d
.
Definition at line 234 of file Types.h.
Referenced by CLLKTrackerStage0Kernel::configure(), CLLKTrackerStage1Kernel::configure(), and arm_compute::test::is_in_valid_region().
Coordinates anchor |
Anchor for the start of the valid region.
Definition at line 260 of file Types.h.
Referenced by arm_compute::calculate_max_enlarged_window(), arm_compute::calculate_max_window(), arm_compute::calculate_max_window_horizontal(), arm_compute::calculate_valid_region_scale(), AccessWindowTranspose::compute_valid_region(), AccessWindowStatic::compute_valid_region(), AccessWindowRectangle::compute_valid_region(), GCFillBorderKernel::configure(), INEWarpKernel::configure(), CLChannelExtractKernel::configure(), CLChannelCombineKernel::configure(), CLFillBorderKernel::configure(), CLColorConvertKernel::configure(), CLCopyToArrayKernel::configure(), NEEdgeTraceKernel::configure(), ITensor::copy_from(), arm_compute::error_on_invalid_subtensor_valid_region(), arm_compute::intersect_valid_regions(), arm_compute::cpu::neon_softmax_logits_1d_float(), NEFillBorderKernel::run_op(), arm_compute::test::shape_to_valid_region(), arm_compute::test::shape_to_valid_region_gaussian_pyramid_half(), arm_compute::test::shape_to_valid_region_laplacian_pyramid(), and arm_compute::test::validation::validate().
TensorShape shape |
Shape of the valid region.
Definition at line 261 of file Types.h.
Referenced by arm_compute::calculate_max_enlarged_window(), arm_compute::calculate_max_window(), arm_compute::calculate_max_window_horizontal(), arm_compute::calculate_valid_region_scale(), AccessWindowTranspose::compute_valid_region(), AccessWindowStatic::compute_valid_region(), AccessWindowRectangle::compute_valid_region(), GCFillBorderKernel::configure(), INEWarpKernel::configure(), NEHOGDetectorKernel::configure(), CLFillBorderKernel::configure(), CLHOGDetectorKernel::configure(), NEEdgeTraceKernel::configure(), ITensor::copy_from(), DetectionOutputAccessor::DetectionOutputAccessor(), arm_compute::error_on_invalid_subtensor_valid_region(), arm_compute::intersect_valid_regions(), arm_compute::cpu::neon_softmax_logits_1d_float(), NEFillBorderKernel::run_op(), arm_compute::test::shape_to_valid_region(), arm_compute::test::shape_to_valid_region_gaussian_pyramid_half(), arm_compute::test::shape_to_valid_region_laplacian_pyramid(), and arm_compute::test::validation::validate().