Compute Library
 19.08
NETile Class Reference

Basic function to run NETileKernel. More...

#include <NETile.h>

Collaboration diagram for NETile:
[legend]

Public Member Functions

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

Detailed Description

Basic function to run NETileKernel.

Definition at line 36 of file NETile.h.

Member Function Documentation

◆ configure()

void configure ( const ITensor input,
ITensor 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.
[out]outputDestination tensor. Same as input
[in]multiplesContains the number of times the input tensor should be replicated on the given dimension.

Definition at line 31 of file NETile.cpp.

32 {
33  auto k = arm_compute::support::cpp14::make_unique<NETileKernel>();
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 NETile.

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

Definition at line 38 of file NETile.cpp.

39 {
40  return NETileKernel::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 NETileKernel.

References NETileKernel::validate().


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