21.05
|
Describe a multidimensional execution window. More...
#include <Window.h>
Data Structures | |
class | Dimension |
Describe one of the image's dimensions with a start, end and step. More... | |
Public Member Functions | |
constexpr | Window () |
Default constructor: create a window containing a single element. More... | |
Window (const Window &src) | |
Copy constructor. More... | |
Window & | operator= (const Window &rhs) |
Copy assignment operator. More... | |
constexpr const Dimension & | operator[] (size_t dimension) const |
Read only access to a given dimension of the window. More... | |
constexpr const Dimension & | x () const |
Alias to access the first dimension of the window. More... | |
constexpr const Dimension & | y () const |
Alias to access the second dimension of the window. More... | |
constexpr const Dimension & | z () const |
Alias to access the third dimension of the window. More... | |
void | set (size_t dimension, const Dimension &dim) |
Set the values of a given dimension. More... | |
void | set_broadcasted (size_t dimension) |
Set the dimension as broadcasted dimension. More... | |
bool | is_broadcasted (size_t dimension) const |
Return whether a dimension has been broadcasted. More... | |
void | use_tensor_dimensions (const TensorShape &shape, size_t first_dimension=Window::DimX) |
Use the tensor's dimensions to fill the window dimensions. More... | |
void | shift (size_t dimension, int shift_value) |
Shift the values of a given dimension by the given shift_value. More... | |
Window | shift_dimensions (unsigned int shift_value) const |
Shift down all the dimensions of a window. More... | |
void | adjust (size_t dimension, int adjust_value, bool is_at_start) |
Adjust the start or end of a given dimension by the given value. More... | |
void | scale (size_t dimension, float scale_value) |
Scale the values of a given dimension by the given scale_value. More... | |
void | set_dimension_step (size_t dimension, int step) |
Set the step of a given dimension. More... | |
void | validate () const |
Will validate all the window's dimensions' values when asserts are enabled. More... | |
constexpr size_t | num_iterations (size_t dimension) const |
Return the number of iterations needed to iterate through a given dimension. More... | |
size_t | num_iterations_total () const |
Return the total number of iterations needed to iterate through the entire window. More... | |
TensorShape | shape () const |
Return the shape of the window in number of steps. More... | |
Window | split_window (size_t dimension, size_t id, size_t total) const |
Split a window into a set of sub windows along a given dimension. More... | |
Window | first_slice_window_1D () const |
First 1D slice of the window. More... | |
Window | first_slice_window_2D () const |
First 2D slice of the window. More... | |
Window | first_slice_window_3D () const |
First 3D slice of the window. More... | |
Window | first_slice_window_4D () const |
First 4D slice of the window. More... | |
bool | slide_window_slice_1D (Window &slice) const |
Slide the passed 1D window slice. More... | |
bool | slide_window_slice_2D (Window &slice) const |
Slide the passed 2D window slice. More... | |
bool | slide_window_slice_3D (Window &slice) const |
Slide the passed 3D window slice. More... | |
bool | slide_window_slice_4D (Window &slice) const |
Slide the passed 4D window slice. More... | |
Window | collapse_if_possible (const Window &full_window, size_t first, size_t last, bool *has_collapsed=nullptr) const |
Collapse the dimensions between first and last if possible. More... | |
Window | collapse_if_possible (const Window &full_window, size_t first, bool *has_collapsed=nullptr) const |
Collapse the dimensions higher than first if possible. More... | |
Window | collapse (const Window &full_window, size_t first, size_t last=Coordinates::num_max_dimensions) const |
Collapse the dimensions between first and last . More... | |
Window | broadcast_if_dimension_le_one (const TensorShape &shape) const |
Don't advance in the dimension where shape is less equal to 1. More... | |
Window | broadcast_if_dimension_le_one (const ITensorInfo &info) const |
Don't advance in the dimension where shape of info is less equal to 1. More... | |
Static Public Attributes | |
static constexpr size_t | DimX = 0 |
Alias for dimension 0 also known as X dimension. More... | |
static constexpr size_t | DimY = 1 |
Alias for dimension 1 also known as Y dimension. More... | |
static constexpr size_t | DimZ = 2 |
Alias for dimension 2 also known as Z dimension. More... | |
static constexpr size_t | DimW = 3 |
Alias for dimension 3 also known as W dimension. More... | |
Friends | |
void | swap (Window &lhs, Window &rhs) |
Friend function that swaps the contents of two windows. More... | |
|
inline |
Copy constructor.
[in] | src | Copy the values from src to a new object |
Definition at line 26 of file Window.inl.
References Dimensions< int >::num_max_dimensions, Window::set(), and arm_compute::test::validation::src.
|
inline |
Adjust the start or end of a given dimension by the given value.
[in] | dimension | The dimension to adjust |
[in] | adjust_value | The adjusted value. |
[in] | is_at_start | The flag to indicate whether adjust the start or end of the dimension. |
Definition at line 140 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, Window::Dimension::end(), Dimensions< int >::num_max_dimensions, Window::Dimension::start(), and Window::Dimension::step().
Referenced by CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), and ClDirectConvolutionKernel::run_op().
|
inline |
Don't advance in the dimension where shape
is less equal to 1.
[in] | shape | A TensorShape. |
Definition at line 120 of file Window.inl.
References Dimensions< size_t >::num_max_dimensions, Window::set_broadcasted(), and Window::shape().
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_s16_u8_s16_neon(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_u8_u8_s16_neon(), Window::broadcast_if_dimension_le_one(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), and arm_compute::cpu::sub_u8_u8_s16_neon().
|
inline |
Don't advance in the dimension where shape of info
is less equal to 1.
[in] | info | An ITensorInfo. |
Definition at line 406 of file Window.h.
References Window::broadcast_if_dimension_le_one(), and arm_compute::test::validation::info.
|
inline |
Collapse the dimensions between first
and last
.
A dimension is collapsable if it starts from 0 and matches the corresponding dimension in the full_window
[in] | full_window | Full window window has been created from. |
[in] | first | Start dimension into which the following are collapsed. |
[in] | last | End (exclusive) dimension to collapse. |
Definition at line 111 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Window::collapse_if_possible().
Referenced by CLInstanceNormalizationLayerKernel::run(), CLReverseKernel::run(), CLComputeAllAnchorsKernel::run(), CLStackLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), ClPermuteKernel::run_op(), and ClScaleKernel::run_op().
|
inline |
Collapse the dimensions between first
and last
if possible.
A dimension is collapsable if it starts from 0 and matches the corresponding dimension in the full_window
[in] | full_window | Full window window has been created from. |
[in] | first | Start dimension into which the following are collapsed. |
[in] | last | End (exclusive) dimension to collapse. |
[out] | has_collapsed | (Optional) Whether the window was collapsed. |
Definition at line 68 of file Window.inl.
References arm_compute::mlgo::parser::end(), Window::set(), and arm_compute::cpu::step.
Referenced by Window::collapse(), Window::collapse_if_possible(), CLDepthConvertLayerKernel::configure(), arm_compute::cpu::fp32_neon_activation(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), NEConvertQuantizedSignednessKernel::run(), NEReorgLayerKernel::run(), CLSelectKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLComparisonKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), CLGatherKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), CLFFTDigitReverseKernel::run(), CLTileKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLFFTRadixStageKernel::run(), CLFillBorderKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLCol2ImKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CLGEMMLowpOffsetContributionKernel::run(), CLWinogradInputTransformKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLWinogradOutputTransformKernel::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), ClFloorKernel::run_op(), ClReshapeKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClCopyKernel::run_op(), ClDequantizationKernel::run_op(), ClActivationKernel::run_op(), ClPoolingKernel::run_op(), ClQuantizationKernel::run_op(), ClFillKernel::run_op(), CLStridedSliceKernel::run_op(), ClMulKernel::run_op(), CLFillBorderKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClComplexMulKernel::run_op(), and ClLogits1DNormKernel::run_op().
|
inline |
Collapse the dimensions higher than first
if possible.
A dimension is collapsable if it starts from 0 and matches the corresponding dimension in the full_window
[in] | full_window | Full window window has been created from. |
[in] | first | Start dimension into which the following are collapsed. |
[out] | has_collapsed | (Optional) Whether the window was collapsed. |
Definition at line 375 of file Window.h.
References Window::collapse_if_possible(), and Dimensions< int >::num_max_dimensions.
|
inline |
First 1D slice of the window.
Definition at line 275 of file Window.h.
Referenced by NETileKernel::run(), CLSelectKernel::run(), CLReverseKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLBatchToSpaceLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLWeightsReshapeKernel::run(), CLSpaceToBatchLayerKernel::run(), and CpuCopyKernel::run_op().
|
inline |
First 2D slice of the window.
Definition at line 283 of file Window.h.
Referenced by ICLSimple2DKernel::run(), CLBitwiseKernel::run(), CLRemapKernel::run(), NEDepthToSpaceLayerKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLReductionOperationKernel::run(), CLPriorBoxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLBoundingBoxTransformKernel::run(), CLArgMinMaxLayerKernel::run(), CLWeightsReshapeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), ClTransposeKernel::run_op(), and ClScaleKernel::run_op().
|
inline |
First 3D slice of the window.
Definition at line 291 of file Window.h.
Referenced by ICLSimple3DKernel::run(), NEDepthToSpaceLayerKernel::run(), NESpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLSelectKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLFFTScaleKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), CLROIPoolingLayerKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), CLReorgLayerKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLPadLayerKernel::run(), CLFFTRadixStageKernel::run(), CLFillBorderKernel::run(), NEBatchToSpaceLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLArgMinMaxLayerKernel::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), CLGEMMReshapeLHSMatrixKernel::run(), NESpaceToBatchLayerKernel::run(), CLCol2ImKernel::run(), CLROIAlignLayerKernel::run(), CLBatchToSpaceLayerKernel::run(), CLGEMMLowpOffsetContributionKernel::run(), CLWinogradInputTransformKernel::run(), CLBatchNormalizationLayerKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLFuseBatchNormalizationKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWeightsReshapeKernel::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMReshapeRHSMatrixKernel::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), ClElementwiseKernel::run_op(), ClReshapeKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClActivationKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClMulKernel::run_op(), ClDirectConvolutionKernel::run_op(), CLFillBorderKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClComplexMulKernel::run_op(), and ClLogits1DNormKernel::run_op().
|
inline |
First 4D slice of the window.
Definition at line 299 of file Window.h.
Referenced by CLDepthToSpaceLayerKernel::run(), CLReverseKernel::run(), CLSpaceToDepthLayerKernel::run(), CLTileKernel::run(), CLReductionOperationKernel::run(), NEBatchToSpaceLayerKernel::run(), CLStackLayerKernel::run(), CLArgMinMaxLayerKernel::run(), CLCol2ImKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLBatchToSpaceLayerKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), ClWidthConcatenate2TensorsKernel::run_op(), ClPoolingKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClPermuteKernel::run_op(), and ClScaleKernel::run_op().
|
inline |
Return whether a dimension has been broadcasted.
[in] | dimension | The requested dimension |
Definition at line 62 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Dimensions< int >::num_max_dimensions.
Referenced by ICLKernel::add_tensor_argument().
|
inline |
Return the number of iterations needed to iterate through a given dimension.
[in] | dimension | The requested dimension |
Definition at line 182 of file Window.inl.
Referenced by ClCopyKernel::configure(), ClFillKernel::configure(), ClCropKernel::configure(), Window::num_iterations_total(), SingleThreadScheduler::schedule(), OMPScheduler::schedule_op(), and Window::split_window().
|
inline |
Return the total number of iterations needed to iterate through the entire window.
Definition at line 294 of file Window.inl.
References Window::num_iterations(), and Dimensions< int >::num_max_dimensions.
Copy assignment operator.
[in] | rhs | Copy the values from rhs to the current object |
Definition at line 36 of file Window.inl.
References Window::swap.
|
inline |
Read only access to a given dimension of the window.
[in] | dimension | The dimension to access |
Definition at line 43 of file Window.inl.
|
inline |
Scale the values of a given dimension by the given scale_value.
[in] | dimension | The dimension to scale |
[in] | scale_value | Value to scale the start, end and step values of. |
Definition at line 155 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, arm_compute::ceil_to_multiple(), Window::Dimension::end(), Dimensions< int >::num_max_dimensions, Window::Dimension::start(), and Window::Dimension::step().
|
inline |
Set the values of a given dimension.
[in] | dimension | The dimension to set |
[in] | dim | The values to set the dimension to |
Definition at line 49 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Dimensions< int >::num_max_dimensions.
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_s16_u8_s16_neon(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_u8_u8_s16_neon(), arm_compute::calculate_max_enlarged_window(), arm_compute::calculate_max_window(), arm_compute::calculate_max_window_horizontal(), Window::collapse_if_possible(), arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), ClCopyKernel::configure(), CLStridedSliceKernel::configure(), ClFillKernel::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), ClCropKernel::configure(), CLReductionOperationKernel::configure(), NEROIAlignLayerKernel::configure(), CLFillBorderKernel::configure(), NEFillBorderKernel::configure(), CLCropResize::configure(), create_window(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), AssetsLibrary::fill_borders_with_garbage(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp32_neon_activation(), IKernel::IKernel(), arm_compute::utils::load_trained_data(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_logits_1d_max(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), CLMinMaxLayerKernel::reset(), NEMinMaxLayerKernel::reset(), CPPUpsampleKernel::run(), NEConvertQuantizedSignednessKernel::run(), NETileKernel::run(), NEDepthToSpaceLayerKernel::run(), NEFFTScaleKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLSelectKernel::run(), CLDepthToSpaceLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), NEMinMaxLayerKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), NEFFTRadixStageKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), NEDepthConvertLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), CLArgMinMaxLayerKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLBatchToSpaceLayerKernel::run(), NEGEMMTranspose1xWKernel::run(), CLGEMMLowpOffsetContributionKernel::run(), CLBatchNormalizationLayerKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), CpuFillKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuFloorKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), ClPermuteKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClLogits1DNormKernel::run_op(), arm_compute::run_reverse(), arm_compute::utils::save_to_ppm(), Window::set_broadcasted(), Window::shift_dimensions(), arm_compute::test::validation::reference::softmax_layer_generic(), Window::split_window(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sub_u8_u8_s16_neon(), AccessWindowTranspose::update_window_if_needed(), AccessWindowStatic::update_window_if_needed(), AccessWindowRectangle::update_window_if_needed(), Window::use_tensor_dimensions(), and Window::Window().
|
inline |
Set the dimension as broadcasted dimension.
[in] | dimension | The dimension to set |
Definition at line 55 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, Dimensions< int >::num_max_dimensions, and Window::set().
Referenced by Window::broadcast_if_dimension_le_one().
|
inline |
Set the step of a given dimension.
[in] | dimension | Dimension to update |
[in] | step | The new dimension's step value |
Definition at line 167 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, Dimensions< int >::num_max_dimensions, and arm_compute::cpu::step.
Referenced by CLROIPoolingLayerKernel::run(), CLROIAlignLayerKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLIm2ColKernel::run(), ClDirectConvolutionKernel::run_op(), and WindowIterator< L >::set_step().
|
inline |
Return the shape of the window in number of steps.
Definition at line 284 of file Window.inl.
References arm_compute::mlgo::parser::end(), Dimensions< size_t >::num_max_dimensions, TensorShape::set(), and arm_compute::cpu::step.
Referenced by Window::broadcast_if_dimension_le_one(), CLWinogradInputTransformKernel::run(), and Window::use_tensor_dimensions().
|
inline |
Shift the values of a given dimension by the given shift_value.
[in] | dimension | The dimension to shift |
[in] | shift_value | Value to shift the start and end values of. |
Definition at line 133 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, Window::Dimension::end(), Dimensions< int >::num_max_dimensions, Window::Dimension::start(), and Window::Dimension::step().
|
inline |
Shift down all the dimensions of a window.
i.e new_dims[n] = old_dims[n+shift_value].
[in] | shift_value | Number of dimensions to shift the window by. |
Definition at line 101 of file Window.inl.
References Dimensions< int >::num_max_dimensions, and Window::set().
|
inline |
Slide the passed 1D window slice.
If slice contains the last slice then it will remain unchanged and false will be returned.
[in,out] | slice | Current slice, to be updated to the next slice. |
Definition at line 311 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by CLWeightsReshapeKernel::run().
|
inline |
Slide the passed 2D window slice.
If slice contains the last slice then it will remain unchanged and false will be returned.
[in,out] | slice | Current slice, to be updated to the next slice. |
Definition at line 323 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by ICLSimple2DKernel::run(), CLBitwiseKernel::run(), CLRemapKernel::run(), NEDepthToSpaceLayerKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLReductionOperationKernel::run(), CLL2NormalizeLayerKernel::run(), CLArgMinMaxLayerKernel::run(), CLWeightsReshapeKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), ClTransposeKernel::run_op(), and ClScaleKernel::run_op().
|
inline |
Slide the passed 3D window slice.
If slice contains the last slice then it will remain unchanged and false will be returned.
[in,out] | slice | Current slice, to be updated to the next slice. |
Definition at line 335 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by ICLSimple3DKernel::run(), NEDepthToSpaceLayerKernel::run(), NESpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLSelectKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLComparisonKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), CLFFTDigitReverseKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), CLReorgLayerKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLPadLayerKernel::run(), CLFFTRadixStageKernel::run(), NEBatchToSpaceLayerKernel::run(), CLFillBorderKernel::run(), CLL2NormalizeLayerKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLArgMinMaxLayerKernel::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), CLGEMMReshapeLHSMatrixKernel::run(), NESpaceToBatchLayerKernel::run(), CLCol2ImKernel::run(), CLBatchToSpaceLayerKernel::run(), CLGEMMLowpOffsetContributionKernel::run(), CLWinogradInputTransformKernel::run(), CLBatchNormalizationLayerKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMReshapeRHSMatrixKernel::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), ClElementwiseKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClCopyKernel::run_op(), ClActivationKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClMulKernel::run_op(), ClDirectConvolutionKernel::run_op(), CLFillBorderKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClComplexMulKernel::run_op(), and ClLogits1DNormKernel::run_op().
|
inline |
Slide the passed 4D window slice.
If slice contains the last slice then it will remain unchanged and false will be returned.
[in,out] | slice | Current slice, to be updated to the next slice. |
Definition at line 347 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by CLReverseKernel::run(), CLTileKernel::run(), CLReductionOperationKernel::run(), CLArgMinMaxLayerKernel::run(), CLCol2ImKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLWeightsReshapeKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), ClWidthConcatenate2TensorsKernel::run_op(), ClPoolingKernel::run_op(), ClPermuteKernel::run_op(), and ClWidthConcatenate4TensorsKernel::run_op().
|
inline |
Split a window into a set of sub windows along a given dimension.
For example to split a window into 3 sub-windows along the Y axis, you would have to do:
Window sub0 = window.split_window( 1, 0, 3);
Window sub1 = window.split_window( 1, 1, 3);
Window sub2 = window.split_window( 1, 2, 3);
[in] | dimension | Dimension along which the split will be performed |
[in] | id | Id of the sub-window to return. Must be in the range (0, total-1) |
[in] | total | Total number of sub-windows the window will be split into. |
Definition at line 189 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, arm_compute::mlgo::parser::end(), Window::num_iterations(), Dimensions< int >::num_max_dimensions, Window::set(), and arm_compute::cpu::step.
Referenced by OMPScheduler::schedule_op().
|
inline |
Use the tensor's dimensions to fill the window dimensions.
[in] | shape | TensorShape to copy the dimensions from. |
[in] | first_dimension | Only copy dimensions which are greater or equal to this value. |
Definition at line 276 of file Window.inl.
References Dimensions< T >::num_dimensions(), Window::set(), and Window::shape().
Referenced by arm_compute::utils::compare_tensor(), CLFillBorderKernel::configure(), NEFillBorderKernel::configure(), ITensor::copy_from(), AssetsLibrary::fill_layer_data(), arm_compute::utils::fill_random_tensor(), NPYLoader::fill_tensor(), arm_compute::utils::fill_tensor_value(), arm_compute::utils::fill_tensor_vector(), arm_compute::test::validation::reference::gather(), CpuFloorKernel::infer_window(), CLMinMaxLayerKernel::reset(), NEMinMaxLayerKernel::reset(), CLQLSTMLayerNormalizationKernel::run(), NEMinMaxLayerKernel::run(), NEStackLayerKernel::run(), CLStackLayerKernel::run(), CLCol2ImKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLWinogradFilterTransformKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLWeightsReshapeKernel::run(), CLWinogradOutputTransformKernel::run(), CLIm2ColKernel::run(), ClDirectConvolutionKernel::run_op(), arm_compute::utils::save_to_npy(), arm_compute::test::validation::reference::slice(), arm_compute::test::validation::reference::softmax_layer_generic(), arm_compute::test::validation::reference::strided_slice(), and arm_compute::test::validation::TEST_CASE().
|
inline |
Will validate all the window's dimensions' values when asserts are enabled.
No-op when asserts are disabled
Definition at line 173 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, arm_compute::mlgo::parser::end(), Dimensions< int >::num_max_dimensions, and arm_compute::cpu::step.
Referenced by arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_rgb_to_yuv4(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), arm_compute::error_on_invalid_subwindow(), arm_compute::error_on_mismatching_windows(), arm_compute::error_on_window_not_collapsable_at_dimension(), OMPScheduler::schedule_op(), AccessWindowTranspose::update_window_if_needed(), and AccessWindowRectangle::update_window_if_needed().
|
inline |
Alias to access the first dimension of the window.
Definition at line 145 of file Window.h.
References Window::DimX.
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_s16_u8_s16_neon(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_u8_u8_s16_neon(), arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), AccessWindowTranspose::compute_valid_region(), AccessWindowRectangle::compute_valid_region(), ClCopyKernel::configure(), CLStridedSliceKernel::configure(), ClFillKernel::configure(), ClCropKernel::configure(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::fp32_neon_activation(), ICLKernel::gws_from_window(), IKernel::is_window_configured(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_logits_1d_max(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), NEConvertQuantizedSignednessKernel::run(), NESpaceToDepthLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEMinMaxLayerKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), NEDepthConvertLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), NESpaceToBatchLayerKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), NEWinogradLayerTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run(), CpuFillKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuFloorKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), ClCropKernel::run_op(), arm_compute::run_reverse(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sub_u8_u8_s16_neon(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowTranspose::update_window_if_needed(), AccessWindowRectangle::update_window_if_needed(), ClFillKernel::validate(), and ClCropKernel::validate().
|
inline |
Alias to access the second dimension of the window.
Definition at line 154 of file Window.h.
References Window::DimY.
Referenced by arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), AccessWindowTranspose::compute_valid_region(), AccessWindowRectangle::compute_valid_region(), ICLKernel::gws_from_window(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), NEDepthToSpaceLayerKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), NESpaceToBatchLayerKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowTranspose::update_window_if_needed(), and AccessWindowRectangle::update_window_if_needed().
|
inline |
Alias to access the third dimension of the window.
Definition at line 163 of file Window.h.
References Window::DimZ.
Referenced by ICLKernel::gws_from_window(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), and NESpaceToDepthLayerKernel::run().
Friend function that swaps the contents of two windows.
[in] | lhs | First window to swap. |
[in] | rhs | Second window to swap. |
Definition at line 304 of file Window.inl.
Referenced by Window::operator=().
|
static |
|
static |
Alias for dimension 0 also known as X dimension.
Definition at line 43 of file Window.h.
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_s16_u8_s16_neon(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_u8_u8_s16_neon(), arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), arm_compute::misc::shape_calculator::compute_min_max_shape(), arm_compute::misc::shape_calculator::compute_reductionB_shape(), arm_compute::misc::shape_calculator::compute_winograd_filter_transform_shape(), arm_compute::test::validation::reference::concatenate_layer(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), ClDequantizationKernel::configure(), CLStridedSliceKernel::configure(), ClFillKernel::configure(), ClQuantizationKernel::configure(), CpuConcatenate::configure(), ClConcatenate::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), CLTileKernel::configure(), ClCropKernel::configure(), CLReductionOperationKernel::configure(), NEROIAlignLayerKernel::configure(), CLROIPoolingLayerKernel::configure(), CLFillBorderKernel::configure(), NEFillBorderKernel::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLLSTMLayer::configure(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp32_neon_activation(), IKernel::IKernel(), CpuDepthwiseConvolutionAssemblyDispatch::is_optimized_supported(), arm_compute::utils::load_trained_data(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_logits_1d_max(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), NEWinogradConvolutionLayer::prepare(), NEGEMMLowpMatrixMultiplyCore::prepare(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), CLMinMaxLayerKernel::reset(), NEMinMaxLayerKernel::reset(), CPPUpsampleKernel::run(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), NEConvertQuantizedSignednessKernel::run(), NEDepthToSpaceLayerKernel::run(), NEFFTScaleKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLSelectKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), ClConcatenate::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLComputeAllAnchorsKernel::run(), CLQLSTMLayerNormalizationKernel::run(), NEROIPoolingLayer::run(), CpuPoolingAssemblyDispatch::run(), CLMinMaxLayerKernel::run(), CLROIPoolingLayerKernel::run(), NEMinMaxLayerKernel::run(), CLMeanStdDevNormalizationKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CpuDepthwiseConvolutionAssemblyDispatch::run(), NEDepthConvertLayerKernel::run(), CpuPooling::run(), NEBatchToSpaceLayerKernel::run(), CLL2NormalizeLayerKernel::run(), NEFFT1D::run(), NERange::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), CLArgMinMaxLayerKernel::run(), NEWinogradConvolutionLayer::run(), CLROIAlignLayerKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), CLBatchToSpaceLayerKernel::run(), NEGEMMTranspose1xWKernel::run(), CLGEMMLowpOffsetContributionKernel::run(), CLBatchNormalizationLayerKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), NEGEMM::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), NEGEMMLowpMatrixMultiplyCore::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), CpuFillKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuFloorKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), ClPermuteKernel::run_op(), ClDirectConvolutionKernel::run_op(), ClCropKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClLogits1DNormKernel::run_op(), arm_compute::run_reverse(), arm_compute::utils::save_to_ppm(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sub_u8_u8_s16_neon(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), CLLSTMLayer::validate(), and Window::x().
|
static |
Alias for dimension 1 also known as Y dimension.
Definition at line 45 of file Window.h.
Referenced by arm_compute::cpu::bilinear_neon_scale(), arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), arm_compute::misc::shape_calculator::compute_winograd_filter_transform_shape(), arm_compute::test::validation::reference::concatenate_layer(), CpuConcatenate::configure(), ClConcatenate::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), NEROIAlignLayerKernel::configure(), CLFillBorderKernel::configure(), CLROIPoolingLayerKernel::configure(), NEFillBorderKernel::configure(), CpuDirectConvolution::configure(), NELSTMLayerQuantized::configure(), CLLSTMLayerQuantized::configure(), ITensor::copy_from(), arm_compute::utils::draw_detection_rectangle(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), IKernel::IKernel(), CpuDepthwiseConvolutionAssemblyDispatch::is_optimized_supported(), NEGEMM::prepare(), NEGEMMLowpMatrixMultiplyCore::prepare(), NEQLSTMLayer::prepare(), ICPPSimpleFunction::run(), INESimpleFunction::run(), INESimpleFunctionNoBorder::run(), CpuDequantization::run(), CpuScale::run(), CPPUpsampleKernel::run(), CpuQuantization::run(), NEROIPoolingLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), CpuConcatenate::run(), CLInstanceNormalizationLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CpuMul::run(), CLDeconvolutionLayerUpsampleKernel::run(), CpuPoolingAssemblyDispatch::run(), CLMinMaxLayerKernel::run(), NELogicalAnd::run(), NESpaceToDepthLayer::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), CLReductionOperationKernel::run(), CpuSoftmaxGeneric< IS_LOG >::run(), CLPriorBoxLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimit::run(), CpuPooling::run(), NEBatchToSpaceLayerKernel::run(), CLL2NormalizeLayerKernel::run(), NEStackLayer::run(), NEFFT1D::run(), NEL2NormalizeLayer::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::run(), NENormalizationLayer::run(), NEMaxUnpoolingLayer::run(), CLArgMinMaxLayerKernel::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), CLBatchToSpaceLayerKernel::run(), NEFuseBatchNormalization::run(), NEGEMMTranspose1xWKernel::run(), CpuDirectConvolution::run(), CpuComplexMul::run(), CLGEMMLowpOffsetContributionKernel::run(), NEBatchNormalizationLayer::run(), CLGEMMMatrixMultiplyKernel::run(), NESpaceToBatchLayer::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), NEGEMM::run(), NEGenerateProposalsLayer::run(), CLComputeMeanVariance::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), NESynthetizeFunctionWithZeroConstantKernelBorder< K >::run(), NELogicalOr::run(), NEGEMMLowpMatrixMultiplyCore::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), NELogicalNot::run(), NEQLSTMLayer::run(), NEGEMMConvolutionLayer::run(), CpuConcatenateHeightKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), ClPermuteKernel::run_op(), ClDirectConvolutionKernel::run_op(), arm_compute::utils::save_to_ppm(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), CLLSTMLayerQuantized::validate(), and Window::y().
|
static |
Alias for dimension 2 also known as Z dimension.
Definition at line 47 of file Window.h.
Referenced by arm_compute::cpu::bilinear_neon_scale(), arm_compute::misc::shape_calculator::compute_winograd_filter_transform_shape(), arm_compute::test::validation::reference::concatenate_layer(), ClWidthConcatenate2TensorsKernel::configure(), ClHeightConcatenateKernel::configure(), ClWidthConcatenateKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClDepthConcatenateKernel::configure(), CpuConcatenate::configure(), ClConcatenate::configure(), CLROIPoolingLayerKernel::configure(), CLFillBorderKernel::configure(), CLDepthConvertLayerKernel::configure(), NEFillBorderKernel::configure(), CpuDirectConvolution::configure(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp32_neon_activation(), CpuDepthwiseConvolutionAssemblyDispatch::is_optimized_supported(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), INESimpleFunction::run(), CpuConvertFullyConnectedWeights::run(), NEFillBorder::run(), CPPUpsampleKernel::run(), NEROIPoolingLayerKernel::run(), NEConvertQuantizedSignednessKernel::run(), NEDepthToSpaceLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLReverseKernel::run(), CLSelectKernel::run(), CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), CLGatherKernel::run(), CLROIPoolingLayerKernel::run(), CLComparisonKernel::run(), CLTileKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::run(), CLFFTDigitReverseKernel::run(), CLReductionOperationKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CpuPooling::run(), CLFillBorderKernel::run(), NEBatchToSpaceLayerKernel::run(), CLFFTRadixStageKernel::run(), CLL2NormalizeLayerKernel::run(), NEFFT1D::run(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::run(), CLGEMMLowpQuantizeDownInt32ScaleKernel::run(), CLStackLayerKernel::run(), NEInstanceNormalizationLayer::run(), CLArgMinMaxLayerKernel::run(), CLCol2ImKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CLDepthwiseConvolutionLayer3x3NHWCKernel::run(), NEPadLayer::run(), NECropResize::run(), CLBatchToSpaceLayerKernel::run(), CpuDirectConvolution::run(), CLGEMMLowpOffsetContributionKernel::run(), CLWinogradInputTransformKernel::run(), CLFuseBatchNormalizationKernel::run(), CLDepthwiseConvolutionLayer3x3NCHWKernel::run(), CLSpaceToBatchLayerKernel::run(), CLWinogradOutputTransformKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), CLGEMMLowpOffsetContributionOutputStageKernel::run(), CLIm2ColKernel::run(), CLGEMMLowpMatrixAReductionKernel::run(), NESynthetizeFunctionWithZeroConstantKernelBorder< K >::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMLowpMatrixBReductionKernel::run(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), ClFloorKernel::run_op(), ClReshapeKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClCopyKernel::run_op(), ClActivationKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), ClFillKernel::run_op(), ClPermuteKernel::run_op(), ClScaleKernel::run_op(), CLStridedSliceKernel::run_op(), ClMulKernel::run_op(), ClDirectConvolutionKernel::run_op(), CLFillBorderKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClComplexMulKernel::run_op(), ClLogits1DNormKernel::run_op(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), and Window::z().