23.05
|
#include <KernelDescriptors.h>
Public Member Functions | |
ScaleKernelInfo (InterpolationPolicy interpolation_policy, BorderMode border_mode, PixelValue constant_border_value=PixelValue(), SamplingPolicy sampling_policy=SamplingPolicy::CENTER, bool use_padding=true, bool align_corners=false, DataLayout data_layout=DataLayout::UNKNOWN) noexcept | |
Constructor. More... | |
Data Fields | |
InterpolationPolicy | interpolation_policy |
Interpolation type to use. More... | |
BorderMode | border_mode |
Border mode policy. More... | |
PixelValue | constant_border_value |
Constant value to use for constant border mode policy. More... | |
SamplingPolicy | sampling_policy |
Sampling policy used by the interpolation. More... | |
bool | use_padding |
Indication of using padding. More... | |
bool | align_corners |
Align corners of input and output. More... | |
DataLayout | data_layout |
Data layout to use. More... | |
Definition at line 189 of file KernelDescriptors.h.
|
inlinenoexcept |
Constructor.
[in] | interpolation_policy | Interpolation type to use |
[in] | border_mode | Border mode policy |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT and use_padding is set to false. Defaults to default PixelValue |
[in] | sampling_policy | (Optional) Sampling policy used by the interpolation. Defaults to SamplingPolicy::CENTER |
[in] | use_padding | (Optional) Is padding in use or not. Defaults to true. |
[in] | align_corners | (Optional) Align corners of input and output, only affecting bilinear policy with TOP_LEFT sampling policy. Defaults to false. |
[in] | data_layout | (Optional) Data layout used by the layer. Defaults to DataLayout::UNKNOWN |
Definition at line 201 of file KernelDescriptors.h.
References arm_compute::test::validation::data_layout, and arm_compute::test::validation::sampling_policy.
bool align_corners |
Align corners of input and output.
Definition at line 223 of file KernelDescriptors.h.
Referenced by CpuScale::configure(), ClScaleKernel::configure(), CpuScaleKernel::configure(), NEScale::configure(), arm_compute::operator<<(), CpuScale::prepare(), and CpuScale::validate().
BorderMode border_mode |
Border mode policy.
Definition at line 219 of file KernelDescriptors.h.
Referenced by ClScaleKernel::configure(), CpuScaleKernel::configure(), NEScale::configure(), arm_compute::operator<<(), and CpuScale::prepare().
PixelValue constant_border_value |
Constant value to use for constant border mode policy.
Definition at line 220 of file KernelDescriptors.h.
Referenced by ClScaleKernel::configure(), CpuScaleKernel::configure(), and arm_compute::operator<<().
DataLayout data_layout |
Data layout to use.
Definition at line 224 of file KernelDescriptors.h.
Referenced by CpuScale::configure(), ClScaleKernel::configure(), CpuScaleKernel::configure(), NEScale::configure(), arm_compute::operator<<(), and CpuScale::validate().
InterpolationPolicy interpolation_policy |
Interpolation type to use.
Definition at line 218 of file KernelDescriptors.h.
Referenced by CpuScale::configure(), ClScaleKernel::configure(), CpuScaleKernel::configure(), NEScale::configure(), arm_compute::operator<<(), CpuScale::prepare(), and CpuScale::validate().
SamplingPolicy sampling_policy |
Sampling policy used by the interpolation.
Definition at line 221 of file KernelDescriptors.h.
Referenced by CpuScale::configure(), ClScaleKernel::configure(), CpuScaleKernel::configure(), NEScale::configure(), arm_compute::operator<<(), CpuScale::prepare(), and CpuScale::validate().
bool use_padding |
Indication of using padding.
Definition at line 222 of file KernelDescriptors.h.
Referenced by arm_compute::operator<<().