Compute Library
 19.08
CLCopy Class Reference

#include <CLCopy.h>

Collaboration diagram for CLCopy:
[legend]

Public Member Functions

void configure (ICLTensor *input, ICLTensor *output)
 Initialise the function's source and destination. 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)
 Static function to check if given info will lead to a valid configuration of CLCopy. More...
 

Detailed Description

Definition at line 36 of file CLCopy.h.

Member Function Documentation

◆ configure()

void configure ( ICLTensor input,
ICLTensor output 
)

Initialise the function's source and destination.

Parameters
[in]inputSource tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32.
[out]outputOutput tensor. Data types supported: Same as input.

Definition at line 38 of file CLCopy.cpp.

39 {
40  auto k = arm_compute::support::cpp14::make_unique<CLCopyKernel>();
41  k->configure(input, output);
42  _kernel = std::move(k);
43 }

◆ validate()

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

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

Parameters
[in]inputSource tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32.
[in]outputOutput tensor. Data types supported: Same as input.
Returns
a status

Definition at line 45 of file CLCopy.cpp.

46 {
47  return CLCopyKernel::validate(input, output);
48 }
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PaddingList &padding=PaddingList(), Window *output_window=nullptr)
Static function to check if given info will lead to a valid configuration of CLCopyKernel.

References CLCopyKernel::validate().


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