24.02.1
|
#include <ClComponentDirectConv2d.h>
Public Types | |
using | Attributes = Conv2dAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does. More... | |
using | Settings = ClComponentDirectConv2dSettings |
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 | |
ClComponentDirectConv2d (ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes, const Settings &settings) | |
Constructor. More... | |
~ClComponentDirectConv2d () override | |
Destructor. More... | |
ClComponentDirectConv2d (const ClComponentDirectConv2d &component)=delete | |
Prevent instances of this class from being copy constructed. More... | |
ClComponentDirectConv2d & | operator= (const ClComponentDirectConv2d &component)=delete |
Prevent instances of this class from being copied. More... | |
ClComponentDirectConv2d (ClComponentDirectConv2d &&component)=default | |
Allow instances of this class to be move constructed. More... | |
ClComponentDirectConv2d & | operator= (ClComponentDirectConv2d &&component)=default |
Allow instances of this class to be moved. More... | |
const IGpuTemplateComponentWriter * | template_writer () 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... | |
virtual const IGpuCkwComponentDriver * | ckw_component_driver () const |
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 77 of file ClComponentDirectConv2d.h.
using Attributes = Conv2dAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does.
Definition at line 81 of file ClComponentDirectConv2d.h.
Settings are a set of backend-specific parameters that influence the implementation of a component.
Definition at line 83 of file ClComponentDirectConv2d.h.
ClComponentDirectConv2d | ( | ComponentId | id, |
const Properties & | properties, | ||
const ArgumentPack< ITensorInfo > & | tensors, | ||
const Attributes & | attributes, | ||
const Settings & | settings | ||
) |
Constructor.
Similar to ClComponentDirectConv2d::validate()
Definition at line 150 of file ClComponentDirectConv2d.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.
|
default |
Allow instances of this class to be moved.
|
delete |
Prevent instances of this class from being copied.
|
overridevirtual |
Get writer for the component.
Reimplemented from IGpuKernelComponent.
Definition at line 169 of file ClComponentDirectConv2d.cpp.
|
inlineoverridevirtual |
Get component type.
Implements IGpuKernelComponent.
Definition at line 148 of file ClComponentDirectConv2d.h.
References arm_compute::experimental::dynamic_fusion::Complex.
|
static |
Validate the component.
[in] | properties | Component properties |
[in,out] | tensors | Tensor arguments to the component |
[in] | attributes | Component attributes |
[in] | settings | Component 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 72 of file ClComponentDirectConv2d.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_deep_convolution_shape(), arm_compute::cpu::data_layout, ClComponentDirectConv2dSettings::direct_conv_descriptor(), arm_compute::test::validation::dst, arm_compute::F16, arm_compute::F32, arm_compute::get_data_layout_dimension_index(), arm_compute::NHWC, Conv2dAttributes::pad(), IGpuKernelComponent::properties(), arm_compute::test::validation::src, Conv2dAttributes::stride(), and IGpuKernelComponent::tensors().