Compute Library
 23.05
CLSynthetizeFunctionWithZeroConstantBorder< K, bordersize > Class Template Reference

As above but this also setups a Zero border on the input tensor of the specified bordersize. More...

#include <Helper.h>

Collaboration diagram for CLSynthetizeFunctionWithZeroConstantBorder< K, bordersize >:
[legend]

Public Member Functions

template<typename T , typename... Args>
void configure (T first, Args &&... args)
 Configure the kernel. More...
 
- Public Member Functions inherited from ICLSimpleFunction
 ICLSimpleFunction (CLRuntimeContext *ctx=nullptr)
 Constructor. More...
 
 ICLSimpleFunction (const ICLSimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 ICLSimpleFunction (ICLSimpleFunction &&)=default
 Default move constructor. More...
 
ICLSimpleFunctionoperator= (const ICLSimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
ICLSimpleFunctionoperator= (ICLSimpleFunction &&)=default
 Default move assignment operator. More...
 
 ~ICLSimpleFunction ()
 Default destructor. More...
 
void run () override final
 Run the kernels contained in the function. More...
 
- Public Member Functions inherited from IFunction
virtual ~IFunction ()=default
 Destructor. More...
 
virtual void prepare ()
 Prepare the function for executing. More...
 

Detailed Description

template<typename K, int bordersize>
class arm_compute::test::CLSynthetizeFunctionWithZeroConstantBorder< K, bordersize >

As above but this also setups a Zero border on the input tensor of the specified bordersize.

Definition at line 166 of file Helper.h.

Member Function Documentation

◆ configure()

void configure ( first,
Args &&...  args 
)
inline

Configure the kernel.

Parameters
[in]firstFirst configuration argument.
[in]argsRest of the configuration arguments.

Definition at line 175 of file Helper.h.

References GemmTuner::args, arm_compute::CONSTANT, and arm_compute::test::validation::k.

176  {
177  auto k = std::make_unique<K>();
178  k->configure(first, std::forward<Args>(args)...);
179  _kernel = std::move(k);
180  _border_handler->configure(first, BorderSize(bordersize), BorderMode::CONSTANT, PixelValue());
181  }

The documentation for this class was generated from the following file: