24.04
|
#include <ClComponentDepthwiseConv2d.h>
Public Types | |
using | Attributes = DepthwiseConv2dAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does. More... | |
using | Settings = ClComponentDepthwiseConv2dSettings |
Settings are a set of backend-specific parameters that influence the implementation of a component. More... | |
Public Types inherited from IGpuKernelComponent | |
using | Properties = KernelProperties |
Public Member Functions | |
ClComponentDepthwiseConv2d (ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes, const Settings &settings) | |
Constructor. More... | |
~ClComponentDepthwiseConv2d () override | |
Destructor. More... | |
ClComponentDepthwiseConv2d (const ClComponentDepthwiseConv2d &component)=delete | |
Prevent instances of this class from being copy constructed. More... | |
ClComponentDepthwiseConv2d & | operator= (const ClComponentDepthwiseConv2d &component)=delete |
Prevent instances of this class from being copied. More... | |
ClComponentDepthwiseConv2d (ClComponentDepthwiseConv2d &&component)=default | |
Allow instances of this class to be move constructed. More... | |
ClComponentDepthwiseConv2d & | operator= (ClComponentDepthwiseConv2d &&component)=default |
Allow instances of this class to be moved. More... | |
const IGpuCkwComponentDriver * | ckw_component_driver () const override |
Get writer for the component. More... | |
GpuComponentType | type () const override |
Get component type. More... | |
Public Member Functions inherited from IGpuKernelComponent | |
IGpuKernelComponent (ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors) | |
Constructor. More... | |
virtual | ~IGpuKernelComponent () |
Destructor. More... | |
ComponentId | id () const |
Get component id. More... | |
ArgumentPack< ITensorInfo > | tensors () const |
Get tensor arguments. More... | |
Properties | properties () const |
Get properties. More... | |
Static Public Member Functions | |
static Status | validate (const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes, const Settings &settings) |
Validate the component. More... | |
Definition at line 96 of file ClComponentDepthwiseConv2d.h.
using Attributes = DepthwiseConv2dAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does.
Definition at line 100 of file ClComponentDepthwiseConv2d.h.
Settings are a set of backend-specific parameters that influence the implementation of a component.
Definition at line 102 of file ClComponentDepthwiseConv2d.h.
ClComponentDepthwiseConv2d | ( | ComponentId | id, |
const Properties & | properties, | ||
const ArgumentPack< ITensorInfo > & | tensors, | ||
const Attributes & | attributes, | ||
const Settings & | settings | ||
) |
Constructor.
Similar to ClComponentDepthwiseConv2d::validate()
Definition at line 205 of file ClComponentDepthwiseConv2d.cpp.
References IGpuKernelComponent::id(), IGpuKernelComponent::properties(), and IGpuKernelComponent::tensors().
|
override |
|
delete |
Prevent instances of this class from being copy constructed.
|
default |
Allow instances of this class to be move constructed.
|
overridevirtual |
Get writer for the component.
Reimplemented from IGpuKernelComponent.
Definition at line 218 of file ClComponentDepthwiseConv2d.cpp.
|
default |
Allow instances of this class to be moved.
|
delete |
Prevent instances of this class from being copied.
|
inlineoverridevirtual |
Get component type.
Implements IGpuKernelComponent.
Definition at line 163 of file ClComponentDepthwiseConv2d.h.
References arm_compute::experimental::dynamic_fusion::Complex.
|
static |
Validate the component.
[in] | properties | Component properties Properties |
[in,out] | tensors | Tensor arguments to the component |
[in] | attributes | Component attributes Attributes |
[in] | settings | Component settings Settings |
Tensor argument names:
Tensor argument constness:
Valid data layouts:
Valid data type configurations:
ACL_SRC_0 | ACL_SRC_1 | ACL_SRC_2 | ACL_DST_0 |
---|---|---|---|
F16 | F16 | F16 | F16 |
F32 | F32 | F32 | F32 |
Definition at line 107 of file ClComponentDepthwiseConv2d.cpp.
References arm_compute::ACL_DST_0, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, arm_compute::ACL_SRC_2, ARM_COMPUTE_RETURN_ERROR_ON, ARM_COMPUTE_RETURN_ERROR_ON_DATA_LAYOUT_NOT_IN, ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN, ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED, ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_LAYOUT, ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES, ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS, ARM_COMPUTE_RETURN_ERROR_ON_MSG, ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR, ARM_COMPUTE_UNUSED, arm_compute::CHANNEL, arm_compute::cpu::channel_idx, arm_compute::misc::shape_calculator::compute_depthwise_convolution_shape(), arm_compute::test::validation::conv_info, arm_compute::cpu::data_layout, DepthwiseConv2dAttributes::depth_multiplier(), DepthwiseConv2dAttributes::dilation(), DepthwiseConv2dAttributes::dimension_rounding_type(), arm_compute::test::validation::dst, ClComponentDepthwiseConv2dSettings::export_input_to_cl_image(), arm_compute::export_to_cl_image(), ClComponentDepthwiseConv2dSettings::export_weights_to_cl_image(), arm_compute::F16, arm_compute::F32, arm_compute::get_data_layout_dimension_index(), ClComponentDepthwiseConv2dSettings::m0(), ClComponentDepthwiseConv2dSettings::n0(), arm_compute::NHWC, arm_compute::test::validation::output_shape, DepthwiseConv2dAttributes::pad(), IGpuKernelComponent::properties(), arm_compute::test::validation::src, DepthwiseConv2dAttributes::stride(), and IGpuKernelComponent::tensors().