24.02
|
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, unsigned int start_dim=0) const |
Shift down all the dimensions of a window starting from the specified dimension. 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... | |
static constexpr size_t | DimV = 4 |
Alias for dimension 4 also known as V dimension. More... | |
Friends | |
void | swap (Window &lhs, Window &rhs) |
Friend function that swaps the contents of two windows. More... | |
bool | operator== (const Window &lhs, const Window &rhs) |
Check whether two Windows are equal. More... | |
|
inlineconstexpr |
Copy constructor.
[in] | src | Copy the values from src to a new object |
Definition at line 30 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 154 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 |
Don't advance in the dimension where shape of info
is less equal to 1.
[in] | info | An ITensorInfo. |
Definition at line 421 of file Window.h.
References Window::broadcast_if_dimension_le_one(), and arm_compute::test::validation::info.
|
inline |
Don't advance in the dimension where shape
is less equal to 1.
[in] | shape | A TensorShape. |
Definition at line 134 of file Window.inl.
References Dimensions< size_t >::num_max_dimensions, Window::set_broadcasted(), and Window::shape().
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_qsymm16_sve2(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_same_sve(), arm_compute::cpu::add_sub_q8_neon_fixedpoint(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), Window::broadcast_if_dimension_le_one(), arm_compute::cpu::elementwise_arithmetic_op(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_op(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::mul_F32_F32_F32(), arm_compute::cpu::sub_qsymm16_neon(), and arm_compute::cpu::sub_same_neon().
|
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 125 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Window::collapse_if_possible().
Referenced by ClWidthConcatenate2TensorsKernel::configure(), ClHeightConcatenateKernel::configure(), ClWidthConcatenateKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), CpuSoftmaxKernel::configure(), ClMatMulNativeKernel::configure(), ClMatMulLowpNativeKernel::configure(), GpuCkwResize::get_window(), GpuCkwDepthwiseConv2d::get_window(), GpuCkwMatMul::get_window(), ClTemplateCast::get_window(), ClTemplateLogits1DNorm::get_window(), ClTemplateLogits1DMaxShiftExpSum::get_window(), ClTemplateReshape::get_window(), ClTemplateDepthwiseConv2d::get_window(), ClTemplateResize::get_window(), ClTemplateActivation::get_window(), CLInstanceNormalizationLayerKernel::run(), CLComputeAllAnchorsKernel::run(), CLReverseKernel::run(), CLStackLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), CLFuseBatchNormalizationKernel::run(), ClScaleKernel::run_op(), ClPermuteKernel::run_op(), ClMatMulNativeKernel::run_op(), ClMatMulLowpNativeKernel::run_op(), and arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels().
|
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 390 of file Window.h.
References Window::collapse_if_possible(), and Dimensions< int >::num_max_dimensions.
|
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 72 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(), ClSoftmaxKernel::configure(), ClCastKernel::configure(), arm_compute::cpu::fp_neon_activation_impl(), arm_compute::cpu::l2_normalize_x(), arm_compute::cpu::matrix_addition_f32(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), NEReorgLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLSelectKernel::run(), CLNormalizationLayerKernel::run(), CLTileKernel::run(), CLGatherKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLFFTRadixStageKernel::run(), CLFillBorderKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), ClTransposeKernel::run_op(), ClReshapeKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), ClQuantizeKernel::run_op(), ClPool3dKernel::run_op(), ClActivationKernel::run_op(), ClPool2dKernel::run_op(), ClWinogradInputTransformKernel::run_op(), ClCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), CLStridedSliceKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClMulKernel::run_op(), CLFillBorderKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), ClComplexMulKernel::run_op(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), and arm_compute::cpu::sve_fp32_activation().
|
inline |
First 1D slice of the window.
Definition at line 290 of file Window.h.
Referenced by NETileKernel::run(), CLSelectKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReverseKernel::run(), CLReductionOperationKernel::run(), CLBatchNormalizationLayerKernel::run(), CLBatchToSpaceLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), CpuCopyKernel::run_op(), and ClWeightsReshapeKernel::run_op().
|
inline |
First 2D slice of the window.
Definition at line 298 of file Window.h.
Referenced by ICLSimple2DKernel::run(), CLBitwiseKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLBoundingBoxTransformKernel::run(), CLPriorBoxLayerKernel::run(), CLSpaceToBatchLayerKernel::run(), ClScaleKernel::run_op(), ClWeightsReshapeKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClIm2ColKernel::run_op(), and ClGemmLowpMatrixBReductionKernel::run_op().
|
inline |
First 3D slice of the window.
Definition at line 306 of file Window.h.
Referenced by ICLSimple3DKernel::run(), NESpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLSelectKernel::run(), CLNormalizationLayerKernel::run(), CLReorgLayerKernel::run(), CLROIPoolingLayerKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLFFTRadixStageKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLPadLayerKernel::run(), CLFillBorderKernel::run(), NEBatchToSpaceLayerKernel::run(), CLROIAlignLayerKernel::run(), NESpaceToBatchLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLBatchToSpaceLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), ClElementwiseKernel::run_op(), ClReshapeKernel::run_op(), ClTransposeKernel::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), ClKernelRuntime::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), ClCopyKernel::run_op(), ClQuantizeKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClTransposedConvolutionKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClActivationKernel::run_op(), ClPool2dKernel::run_op(), ClWinogradInputTransformKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), ClCastKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClIndirectConv2dAddressPrecalculationKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClIndirectConv2dKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClDirectConv3dKernel::run_op(), ClWeightsReshapeKernel::run_op(), ClDirectConv2dKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClMulKernel::run_op(), CLFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), and ClComplexMulKernel::run_op().
|
inline |
First 4D slice of the window.
Definition at line 314 of file Window.h.
Referenced by CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLTileKernel::run(), CLReverseKernel::run(), CLArgMinMaxLayerKernel::run(), CLStackLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLBatchToSpaceLayerKernel::run(), CLSpaceToBatchLayerKernel::run(), ClWidthConcatenate2TensorsKernel::run_op(), ClScaleKernel::run_op(), ClPermuteKernel::run_op(), ClPool2dKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), and CLStridedSliceKernel::run_op().
|
inline |
Return whether a dimension has been broadcasted.
[in] | dimension | The requested dimension |
Definition at line 66 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Dimensions< int >::num_max_dimensions.
Referenced by ICLKernel::add_tensor_argument().
|
inlineconstexpr |
Return the number of iterations needed to iterate through a given dimension.
[in] | dimension | The requested dimension |
Definition at line 196 of file Window.inl.
Referenced by ClCopyKernel::configure(), ClFillKernel::configure(), ClCropKernel::configure(), CpuSubKernel::get_mws(), CpuAddKernel::get_mws(), CpuMulKernel::get_mws(), CpuArithmeticKernel::get_mws(), CpuDivisionKernel::get_mws(), Window::num_iterations_total(), NEDepthToSpaceLayerKernel::run(), 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 308 of file Window.inl.
References Window::num_iterations(), and Dimensions< int >::num_max_dimensions.
Referenced by CpuSubKernel::get_mws(), CpuAddKernel::get_mws(), CpuMulKernel::get_mws(), CpuArithmeticKernel::get_mws(), and CpuDivisionKernel::get_mws().
Copy assignment operator.
[in] | rhs | Copy the values from rhs to the current object |
Definition at line 40 of file Window.inl.
References Window::swap.
|
inlineconstexpr |
Read only access to a given dimension of the window.
[in] | dimension | The dimension to access |
Definition at line 47 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 169 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().
Referenced by CpuGemmInterleave4x4Kernel::run_op().
|
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 53 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, and Dimensions< int >::num_max_dimensions.
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_qsymm16_sve2(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_same_sve(), arm_compute::cpu::add_sub_q8_neon_fixedpoint(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), arm_compute::cpu::batch_normalization_nchw(), arm_compute::cpu::bilinear_neon_scale(), arm_compute::calculate_max_enlarged_window(), arm_compute::calculate_max_window(), arm_compute::calculate_max_window_horizontal(), arm_compute::calculate_squashed_or_max_window(), 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(), ClDequantizeKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), ClFillKernel::configure(), ClQuantizeKernel::configure(), CpuSoftmaxKernel::configure(), ClCropKernel::configure(), CLStridedSliceKernel::configure(), CLTileKernel::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), NEROIAlignLayerKernel::configure(), CpuWeightsReshapeKernel::configure(), CpuIm2ColKernel::configure(), NEFillBorderKernel::configure(), CLFillBorderKernel::configure(), CLCropResize::configure(), arm_compute::cpu::kernels::convolve_nchw(), arm_compute::cpu::kernels::convolve_nhwc(), create_window(), arm_compute::cpu::depthwise_loop_generic_fp(), arm_compute::cpu::depthwise_loop_multiplier1_fp(), arm_compute::cpu::directconv3d_float_neon_ndhwc(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), arm_compute::cpu::elementwise_arithmetic_op(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_op(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op< int8_t >(), arm_compute::cpu::elementwise_op< uint8_t >(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::elementwise_sve_op(), AssetsLibrary::fill_borders_with_garbage(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp_neon_activation_impl(), arm_compute::cpu::fused_batch_normalization_conv(), arm_compute::cpu::fused_batch_normalization_dwc_nchw(), arm_compute::cpu::fused_batch_normalization_dwc_nhwc(), GpuCkwDirectConv2d::get_window(), ClTemplateDirectConv2d::get_window(), IKernel::IKernel(), arm_compute::cpu::instance_normalization_nchw(), arm_compute::cpu::l2_normalize_x(), arm_compute::cpu::l2_normalize_yz(), arm_compute::utils::load_trained_data(), arm_compute::cpu::matrix_addition_f32(), arm_compute::cpu::matrix_matrix_multiply_f32(), arm_compute::cpu::mean_stddev_normalization(), arm_compute::cpu::mul_F32_F32_F32(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_meanstddevnorm(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), arm_compute::cpu::neon_range_function(), arm_compute::normalize_float(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc_kernel_indices(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::poolingMxNxD_fp_neon_ndhwc(), arm_compute::cpu::poolingMxNxD_q8_neon_ndhwc(), NEStackLayerKernel::prepare(), CPPUpsampleKernel::run(), NETileKernel::run(), NEFFTScaleKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLSelectKernel::run(), NEFFTRadixStageKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CpuWinogradConv2d::run(), NEBatchToSpaceLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLComputeMeanVariance::run(), CLBatchToSpaceLayerKernel::run(), CLSpaceToBatchLayerKernel::run(), arm_compute::cpu::kernels::run_im2col(), CpuFillKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuConcatenateHeightKernel::run_op(), ClPermuteKernel::run_op(), CpuFloorKernel::run_op(), ClPool2dKernel::run_op(), CpuPool2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClCropKernel::run_op(), CpuCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), CpuCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), NEStridedSliceKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), arm_compute::run_reverse(), arm_compute::utils::save_to_ppm(), arm_compute::cpu::select_op(), Window::set_broadcasted(), Window::shift_dimensions(), arm_compute::test::validation::reference::softmax_layer_generic(), Window::split_window(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), arm_compute::cpu::sve_fp32_activation(), arm_compute::cpu::sve_logits_1d_max(), arm_gemm::to_window(), AccessWindowTranspose::update_window_if_needed(), AccessWindowStatic::update_window_if_needed(), AccessWindowRectangle::update_window_if_needed(), Window::use_tensor_dimensions(), arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels(), arm_compute::cpu::vector_matrix_multiply_f32(), and Window::Window().
|
inline |
Set the dimension as broadcasted dimension.
[in] | dimension | The dimension to set |
Definition at line 59 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 181 of file Window.inl.
References ARM_COMPUTE_ERROR_ON, Dimensions< int >::num_max_dimensions, and arm_compute::cpu::step.
Referenced by arm_compute::cpu::depthwise_loop_generic_fp(), CLROIPoolingLayerKernel::run(), CLROIAlignLayerKernel::run(), ClIm2ColKernel::run_op(), and WindowIterator< L >::set_step().
|
inline |
Return the shape of the window in number of steps.
Definition at line 298 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_op(), NEStridedSliceKernel::run_op(), 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 147 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 starting from the specified dimension.
new_dims[i] = old_dims[i] for all i < start_dim. new_dims[i] = old_dims[i+shift_value] for all i >= start_dim.
[in] | shift_value | Number of dimensions to shift the window by. |
[in] | start_dim | The dimension from which the dimensions start to shift. |
Definition at line 107 of file Window.inl.
References Dimensions< int >::num_max_dimensions, and Window::set().
Referenced by ClSoftmaxKernel::configure(), and CLReductionOperationKernel::run().
|
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 326 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by ClWeightsReshapeKernel::run_op().
|
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 338 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by ICLSimple2DKernel::run(), CLBitwiseKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), ClScaleKernel::run_op(), ClWeightsReshapeKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClIm2ColKernel::run_op(), and ClGemmLowpMatrixBReductionKernel::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 350 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by ICLSimple3DKernel::run(), NESpaceToDepthLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLSelectKernel::run(), CLFFTScaleKernel::run(), CLNormalizationLayerKernel::run(), CLReorgLayerKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLFFTRadixStageKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLPadLayerKernel::run(), CLFillBorderKernel::run(), NEBatchToSpaceLayerKernel::run(), NESpaceToBatchLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLBatchToSpaceLayerKernel::run(), CLSpaceToBatchLayerKernel::run(), ClElementwiseKernel::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), ClKernelRuntime::run_op(), ClTransposeKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), ClCopyKernel::run_op(), ClQuantizeKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClActivationKernel::run_op(), ClPool2dKernel::run_op(), ClWinogradInputTransformKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), ClCastKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClDirectConv2dKernel::run_op(), ClMulKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), CLFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), and ClComplexMulKernel::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 362 of file Window.h.
References arm_compute::test::validation::reference::slice().
Referenced by CLTileKernel::run(), CLReverseKernel::run(), CLArgMinMaxLayerKernel::run(), ClWidthConcatenate2TensorsKernel::run_op(), ClPermuteKernel::run_op(), ClPool2dKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClCol2ImKernel::run_op(), CLStridedSliceKernel::run_op(), and ClWeightsReshapeKernel::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 203 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 290 of file Window.inl.
References Dimensions< T >::num_dimensions(), Window::set(), and Window::shape().
Referenced by arm_compute::utils::compare_tensor(), NEFillBorderKernel::configure(), CLFillBorderKernel::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(), CLQLSTMLayerNormalizationKernel::run(), CLStackLayerKernel::run(), ClWinogradFilterTransformKernel::run_op(), ClCropKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), ClWeightsReshapeKernel::run_op(), ClDirectConv2dKernel::run_op(), ClIm2ColKernel::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 187 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().
|
inlineconstexpr |
Alias to access the first dimension of the window.
Definition at line 158 of file Window.h.
References Window::DimX.
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_qsymm16_sve2(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_same_sve(), arm_compute::cpu::add_sub_q8_neon_fixedpoint(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), arm_compute::cpu::batch_normalization_nchw(), 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(), ClDequantizeKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), ClFillKernel::configure(), ClQuantizeKernel::configure(), ClCropKernel::configure(), CLStridedSliceKernel::configure(), CLTileKernel::configure(), ClDirectConv2dKernel::configure(), arm_compute::cpu::elementwise_arithmetic_op(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_op(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op< int8_t >(), arm_compute::cpu::elementwise_op< uint8_t >(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::elementwise_sve_op(), arm_compute::cpu::fp_neon_activation_impl(), arm_compute::cpu::fused_batch_normalization_conv(), arm_compute::cpu::fused_batch_normalization_dwc_nchw(), arm_compute::cpu::fused_batch_normalization_dwc_nhwc(), ClTemplateCast::get_build_options(), ClTemplateLogits1DNorm::get_build_options(), ClTemplateReshape::get_build_options(), ClTemplateDirectConv2d::get_build_options(), ClTemplateResize::get_build_options(), ClTemplatePool2d::get_build_options(), ClTemplateActivation::get_build_options(), ICLKernel::gws_from_window(), arm_compute::cpu::instance_normalization_nchw(), IKernel::is_window_configured(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::l2_normalize_x(), arm_compute::cpu::l2_normalize_yz(), arm_compute::cpu::matrix_addition_f32(), arm_compute::cpu::matrix_matrix_multiply_f32(), arm_compute::cpu::mean_stddev_normalization(), arm_compute::cpu::mul_F32_F32_F32(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_meanstddevnorm(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), arm_compute::cpu::neon_range_function(), arm_compute::normalize_float(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc_kernel_indices(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::poolingMxNxD_fp_neon_ndhwc(), arm_compute::cpu::roi_align(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), NESpaceToDepthLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), NESpaceToBatchLayerKernel::run(), CpuFillKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuFloorKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuPool2dKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClCropKernel::run_op(), CpuCastKernel::run_op(), arm_compute::run_reverse(), arm_compute::cpu::select_op_16(), arm_compute::cpu::select_op_32(), arm_compute::cpu::select_op_8(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sve2_q8_elementwise_unary(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), arm_compute::cpu::sve_fp32_activation(), arm_compute::cpu::sve_logits_1d_max(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowTranspose::update_window_if_needed(), AccessWindowRectangle::update_window_if_needed(), ClFillKernel::validate(), ClCropKernel::validate(), arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels(), GpuCkwCast::write_component_code(), GpuCkwElementwiseBinary::write_component_code(), GpuCkwActivation::write_component_code(), GpuCkwPool2d::write_component_code(), GpuCkwDepthwiseConv2d::write_component_code(), GpuCkwDirectConv2d::write_component_code(), and GpuCkwMatMul::write_component_code().
|
inlineconstexpr |
Alias to access the second dimension of the window.
Definition at line 167 of file Window.h.
References Window::DimY.
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::cpu::compute_all_anchors(), arm_compute::cpu::compute_all_anchors_qasymm16(), AccessWindowTranspose::compute_valid_region(), AccessWindowRectangle::compute_valid_region(), ClDirectConv2dKernel::configure(), ClTemplateResize::get_build_options(), ICLKernel::gws_from_window(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::matrix_matrix_multiply_f32(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), NEBatchToSpaceLayerKernel::run(), NESpaceToBatchLayerKernel::run(), CpuPool2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuCol2ImKernel::run_op(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowTranspose::update_window_if_needed(), AccessWindowRectangle::update_window_if_needed(), and arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels().
|
inlineconstexpr |
Alias to access the third dimension of the window.
Definition at line 176 of file Window.h.
References Window::DimZ.
Referenced by arm_compute::cpu::bilinear_neon_scale(), ICLKernel::gws_from_window(), WindowIterator< L >::iterate_3D(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), and NESpaceToDepthLayerKernel::run().
Check whether two Windows are equal.
[in] | lhs | LHS window |
[in] | rhs | RHS window |
Definition at line 323 of file Window.inl.
Friend function that swaps the contents of two windows.
[in] | lhs | First window to swap. |
[in] | rhs | Second window to swap. |
Definition at line 318 of file Window.inl.
Referenced by Window::operator=().
|
staticconstexpr |
|
staticconstexpr |
Alias for dimension 3 also known as W dimension.
Definition at line 49 of file Window.h.
Referenced by arm_compute::cpu::depthwise_loop_generic_fp(), arm_compute::cpu::depthwise_loop_multiplier1_fp(), arm_compute::cpu::directconv3d_float_neon_ndhwc(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), CpuGemmConv2d::prepare(), CpuDepthwiseConv2dAssemblyDispatch::run(), and CLReductionOperationKernel::run().
|
staticconstexpr |
Alias for dimension 0 also known as X dimension.
Definition at line 43 of file Window.h.
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_qsymm16_sve2(), arm_compute::cpu::add_same_neon(), arm_compute::cpu::add_same_sve(), arm_compute::cpu::add_sub_q8_neon_fixedpoint(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), arm_compute::cpu::batch_normalization_nchw(), arm_compute::cpu::bilinear_neon_scale(), arm_compute::calculate_squashed_or_max_window(), 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(), ClDequantizeKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), ClFillKernel::configure(), ClQuantizeKernel::configure(), ClCropKernel::configure(), CpuSoftmaxKernel::configure(), CpuConcatenate::configure(), CLStridedSliceKernel::configure(), ClConcatenate::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), CLTileKernel::configure(), NEROIAlignLayerKernel::configure(), CpuWeightsReshapeKernel::configure(), CLROIPoolingLayerKernel::configure(), NEFillBorderKernel::configure(), CLFillBorderKernel::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLLSTMLayer::configure(), arm_compute::cpu::kernels::convolve_nchw(), arm_compute::cpu::kernels::convolve_nhwc(), arm_compute::cpu::depthwise_loop_generic_fp(), arm_compute::cpu::depthwise_loop_multiplier1_fp(), arm_compute::cpu::directconv3d_float_neon_ndhwc(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), arm_compute::cpu::elementwise_arithmetic_op(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_op(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op(), arm_compute::cpu::elementwise_op< int8_t >(), arm_compute::cpu::elementwise_op< uint8_t >(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), arm_compute::cpu::elementwise_sve_op(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp_neon_activation_impl(), arm_compute::cpu::fused_batch_normalization_conv(), arm_compute::cpu::fused_batch_normalization_dwc_nchw(), arm_compute::cpu::fused_batch_normalization_dwc_nhwc(), CpuActivationKernel::get_mws(), CpuMulKernel::get_mws(), IKernel::IKernel(), arm_compute::cpu::instance_normalization_nchw(), arm_compute::cpu::l2_normalize_x(), arm_compute::cpu::l2_normalize_yz(), arm_compute::utils::load_trained_data(), arm_compute::cpu::matrix_addition_f32(), arm_compute::cpu::matrix_matrix_multiply_f32(), arm_compute::cpu::mean_stddev_normalization(), arm_compute::cpu::mul_F32_F32_F32(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_meanstddevnorm(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), arm_compute::cpu::neon_range_function(), arm_compute::normalize_float(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc(), arm_compute::cpu::poolingMxN_fp32_neon_nhwc_kernel_indices(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::poolingMxNxD_fp_neon_ndhwc(), arm_compute::cpu::poolingMxNxD_q8_neon_ndhwc(), CpuReshapeKernel::prepare(), NEStackLayerKernel::prepare(), CpuGemmLowpMatrixMultiplyCore::prepare(), CPPUpsampleKernel::run(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), ClConcatenate::run(), NEFFTScaleKernel::run(), CpuPool2d::run(), CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLComputeAllAnchorsKernel::run(), NEROIPoolingLayer::run(), CLSelectKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLROIPoolingLayerKernel::run(), NEFFT1D::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReductionOperationKernel::run(), NERange::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CpuWinogradConv2d::run(), CLROIAlignLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLComputeMeanVariance::run(), CLBatchToSpaceLayerKernel::run(), CpuGemmLowpMatrixMultiplyCore::run(), CpuGemm::run(), CLSpaceToBatchLayerKernel::run(), arm_compute::cpu::kernels::run_im2col(), CpuFillKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuFloorKernel::run_op(), ClPermuteKernel::run_op(), ClPool2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuPool2dKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClCropKernel::run_op(), CpuCol2ImKernel::run_op(), CpuCastKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), NEStridedSliceKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), arm_compute::run_reverse(), arm_compute::utils::save_to_ppm(), arm_compute::cpu::select_op(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::cpu::sub_same_neon(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), arm_compute::cpu::sve_fp32_activation(), arm_compute::cpu::sve_logits_1d_max(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), CLLSTMLayer::validate(), arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels(), arm_compute::cpu::vector_matrix_multiply_f32(), and Window::x().
|
staticconstexpr |
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::calculate_squashed_or_max_window(), 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(), CpuSoftmaxKernel::configure(), CpuConcatenate::configure(), ClConcatenate::configure(), NEBoundingBoxTransformKernel::configure(), NEROIPoolingLayerKernel::configure(), NEROIAlignLayerKernel::configure(), CpuWeightsReshapeKernel::configure(), CLROIPoolingLayerKernel::configure(), CpuDirectConv2d::configure(), CpuDirectConv3d::configure(), NEFillBorderKernel::configure(), CLFillBorderKernel::configure(), NELSTMLayerQuantized::configure(), CLLSTMLayerQuantized::configure(), arm_compute::cpu::kernels::convolve_nchw(), arm_compute::cpu::kernels::convolve_nhwc(), ITensor::copy_from(), arm_compute::cpu::depthwise_loop_generic_fp(), arm_compute::cpu::depthwise_loop_multiplier1_fp(), arm_compute::cpu::directconv3d_float_neon_ndhwc(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), arm_compute::utils::draw_detection_rectangle(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), GpuCkwDirectConv2d::get_window(), ClTemplateDirectConv2d::get_window(), IKernel::IKernel(), arm_compute::cpu::instance_normalization_nchw(), arm_compute::cpu::matrix_matrix_multiply_f32(), arm_compute::cpu::nearest_neon_scale(), NEStackLayerKernel::prepare(), CpuFullyConnected::prepare(), CpuGemmLowpMatrixMultiplyCore::prepare(), NEQLSTMLayer::prepare(), ICPPSimpleFunction::run(), CpuQuantize::run(), CpuDequantize::run(), INESimpleFunction::run(), INESimpleFunctionNoBorder::run(), CpuScale::run(), CpuPool3d::run(), CPPUpsampleKernel::run(), CpuConcatenate::run(), CpuAddMulAdd::run(), NEROIPoolingLayerKernel::run(), CpuPool2d::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CpuSoftmaxGeneric::run(), CLInstanceNormalizationLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), NESpaceToDepthLayer::run(), NELogicalAnd::run(), CpuGemmLowpOutputStage::run(), CpuMatMul::run(), NEFFT1D::run(), CLReductionOperationKernel::run(), NEL2NormalizeLayer::run(), NENormalizationLayer::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CpuDirectConv2d::run(), CLPriorBoxLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimit::run(), NEFuseBatchNormalization::run(), NEBatchNormalizationLayer::run(), CpuComplexMul::run(), NESpaceToBatchLayer::run(), CLComputeMeanVariance::run(), NESynthetizeFunctionWithZeroConstantKernelBorder< K >::run(), NEGenerateProposalsLayer::run(), CLBatchToSpaceLayerKernel::run(), CpuGemmLowpMatrixMultiplyCore::run(), NELogicalOr::run(), CpuGemm::run(), CLSpaceToBatchLayerKernel::run(), CpuGemmConv2d::run(), NELogicalNot::run(), NEQLSTMLayer::run(), arm_compute::cpu::kernels::run_im2col(), CpuConcatenateHeightKernel::run_op(), ClPermuteKernel::run_op(), ClPool2dKernel::run_op(), CpuPool2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), CpuCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClDirectConv3dKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), arm_compute::utils::save_to_ppm(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), CLLSTMLayerQuantized::validate(), arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels(), arm_compute::cpu::vector_matrix_multiply_f32(), and Window::y().
|
staticconstexpr |
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(), ClMatMulNativeKernel::configure(), ClDepthConcatenateKernel::configure(), CpuConcatenate::configure(), ClMatMulLowpNativeKernel::configure(), ClConcatenate::configure(), ClCastKernel::configure(), CpuWeightsReshapeKernel::configure(), CLROIPoolingLayerKernel::configure(), CpuDirectConv2d::configure(), NEFillBorderKernel::configure(), CLFillBorderKernel::configure(), arm_compute::cpu::kernels::convolve_nchw(), arm_compute::cpu::kernels::convolve_nhwc(), arm_compute::cpu::depthwise_loop_generic_fp(), arm_compute::cpu::depthwise_loop_multiplier1_fp(), arm_compute::cpu::directconv3d_float_neon_ndhwc(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), IImageLoader::fill_planar_tensor(), arm_compute::cpu::fp_neon_activation_impl(), GpuCkwResize::get_window(), GpuCkwPool2d::get_window(), GpuCkwDepthwiseConv2d::get_window(), GpuCkwDirectConv2d::get_window(), GpuCkwMatMul::get_window(), ClTemplateCast::get_window(), ClTemplateLogits1DNorm::get_window(), ClTemplateLogits1DMaxShiftExpSum::get_window(), ClTemplateReshape::get_window(), ClTemplateDepthwiseConv2d::get_window(), ClTemplateDirectConv2d::get_window(), ClTemplateResize::get_window(), ClTemplatePool2d::get_window(), ClTemplateActivation::get_window(), arm_compute::cpu::instance_normalization_nchw(), arm_compute::cpu::l2_normalize_x(), arm_compute::cpu::matrix_addition_f32(), arm_compute::cpu::nearest_neon_scale(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), INESimpleFunction::run(), CpuConvertFullyConnectedWeights::run(), CPPUpsampleKernel::run(), NEFillBorder::run(), NEROIPoolingLayerKernel::run(), CpuPool2d::run(), CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLSelectKernel::run(), CpuDepthwiseConv2dAssemblyDispatch::run(), CLNormalizationLayerKernel::run(), CLTileKernel::run(), CLROIPoolingLayerKernel::run(), CLGatherKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReverseKernel::run(), NEFFT1D::run(), CLReductionOperationKernel::run(), CLFFTRadixStageKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CpuDirectConv2d::run(), NEInstanceNormalizationLayer::run(), CLFillBorderKernel::run(), CLStackLayerKernel::run(), NEPadLayer::run(), NECropResize::run(), CLDeconvolutionReshapeOutputKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLComputeMeanVariance::run(), CLBatchToSpaceLayerKernel::run(), NESynthetizeFunctionWithZeroConstantKernelBorder< K >::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), arm_compute::cpu::kernels::run_im2col(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), ClTransposeKernel::run_op(), ClFloorKernel::run_op(), ClReshapeKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), ClScaleKernel::run_op(), ClPool3dKernel::run_op(), ClPermuteKernel::run_op(), ClActivationKernel::run_op(), ClPool2dKernel::run_op(), CpuPool2dKernel::run_op(), ClWinogradInputTransformKernel::run_op(), ClMatMulNativeKernel::run_op(), ClCastKernel::run_op(), CpuCol2ImKernel::run_op(), ClMatMulLowpNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), CLStridedSliceKernel::run_op(), ClDirectConv3dKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClMulKernel::run_op(), CLFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), ClComplexMulKernel::run_op(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), arm_compute::cpu::sve_fp32_activation(), CpuConcatenate::validate(), ClConcatenate::validate(), NEDeconvolutionLayer::validate(), arm_compute::opencl::kernels::validate_and_configure_window_for_mmul_kernels(), and Window::z().