Compute Library
 19.08
CLTile Class Reference

Basic function to run CLTileKernel. More...

#include <CLTile.h>

Collaboration diagram for CLTile:
[legend]

Public Member Functions

void configure (const ICLTensor *input, ICLTensor *output, const Multiples &multiples)
 Set the source, destination of the kernel. More...
 
- Public Member Functions inherited from ICLSimpleFunction
 ICLSimpleFunction ()
 Default constructor. 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...
 

Static Public Member Functions

static Status validate (const ITensorInfo *input, const ITensorInfo *output, const Multiples &multiples)
 Static function to check if given info will lead to a valid configuration of CLTile. More...
 

Detailed Description

Basic function to run CLTileKernel.

Definition at line 36 of file CLTile.h.

Member Function Documentation

◆ configure()

void configure ( const ICLTensor input,
ICLTensor output,
const Multiples multiples 
)

Set the source, destination of the kernel.

Parameters
[in]inputSource tensor. Data type supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32
[in]multiplesContains the number of times the input tensor should be replicated on the given dimension.
[out]outputDestination tensor. Same as input

Definition at line 31 of file CLTile.cpp.

32 {
33  auto k = arm_compute::support::cpp14::make_unique<CLTileKernel>();
34  k->configure(input, output, multiples);
35  _kernel = std::move(k);
36 }

◆ validate()

Status validate ( const ITensorInfo input,
const ITensorInfo output,
const Multiples multiples 
)
static

Static function to check if given info will lead to a valid configuration of CLTile.

Parameters
[in]inputSource tensor info. Data type supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32
[in]multiplesContains the number of times the input tensor should be replicated on the given dimension.
[in]outputDestination tensor info. Same as input
Returns
a status

Definition at line 38 of file CLTile.cpp.

39 {
40  return CLTileKernel::validate(input, output, multiples);
41 }
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const Multiples &multiples)
Static function to check if given info will lead to a valid configuration of CLTileKernel.

References CLTileKernel::validate().


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