24.02.1
|
Go to the documentation of this file.
33 #ifndef ACL_INTERNAL_TEST_CKW_IN_DF
35 #else // ACL_INTERNAL_TEST_CKW_IN_DF
37 #endif // ACL_INTERNAL_TEST_CKW_IN_DF
41 namespace experimental
43 namespace dynamic_fusion
46 #ifndef ACL_INTERNAL_TEST_CKW_IN_DF
47 class ClTemplateResize;
48 #else // ACL_INTERNAL_TEST_CKW_IN_DF
50 #endif // ACL_INTERNAL_TEST_CKW_IN_DF
85 #ifndef ACL_INTERNAL_TEST_CKW_IN_DF
86 _component_writer{std::make_unique<ClTemplateResize>(
id, tensors, attributes)}
87 #else // ACL_INTERNAL_TEST_CKW_IN_DF
88 _component_writer{std::make_unique<GpuCkwResize>(
id, tensors, attributes)}
89 #endif // ACL_INTERNAL_TEST_CKW_IN_DF
97 #ifndef ACL_INTERNAL_TEST_CKW_IN_DF
99 #else // ACL_INTERNAL_TEST_CKW_IN_DF
101 #endif // ACL_INTERNAL_TEST_CKW_IN_DF
103 return _component_writer.get();
~ClComponentResize() override
Destructor.
SimpleTensor< float > src
An interface used by ClTemplateWriter to write source code for a kernel component.
This is a generic class that packs the arguments of an operator.
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(...)
const IGpuTemplateComponentWriter * template_writer() const override
Get writer for the component.
Attributes are backend-agnostic parameters (in addition to the input/output tensors) of an operator.
virtual const IGpuCkwComponentDriver * ckw_component_driver() const
Properties common to all kernel component types.
static Status validate(const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes)
Validate the component.
#define ARM_COMPUTE_RETURN_ERROR_ON(cond)
If the condition is true, an error is returned.
#define ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(tensor)
Properties properties() const
Get properties.
An interface used by GpuCkwDriver to write source code for a kernel component.
ClComponentResize(ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes)
Constructor.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(...)
int32_t ComponentId
Uniquely identifies a kernel component within a workload.
ResizeAttributes & align_corners(bool align_corners)
Set align corners.
bool is_align_corners_allowed_sampling_policy(SamplingPolicy sampling_policy)
Returns if aligned corners are allowed for the given sampling policy.
Copyright (c) 2017-2024 Arm Limited.
An abstract interface of a component.
Store the tensor's metadata.
ArgumentPack< ITensorInfo > tensors() const
Get tensor arguments.
ComponentId id() const
Get component id.
ResizeAttributes & sampling_policy(SamplingPolicy sampling_policy)
Set sampling policy.