Compute Library
 19.08
NEFloor Class Reference

Basic function to run NEFloorKernel. More...

#include <NEFloor.h>

Collaboration diagram for NEFloor:
[legend]

Public Member Functions

void configure (const ITensor *input, ITensor *output)
 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)
 Static function to check if given info will lead to a valid configuration of NEFloor. More...
 

Detailed Description

Basic function to run NEFloorKernel.

Definition at line 36 of file NEFloor.h.

Member Function Documentation

◆ configure()

void configure ( const ITensor input,
ITensor output 
)

Set the source, destination of the kernel.

Parameters
[in]inputSource tensor. Data type supported: F16/F32.
[out]outputDestination tensor. Same as input

Definition at line 31 of file NEFloor.cpp.

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

◆ validate()

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

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

Parameters
[in]inputSource tensor info. Data type supported: F16/F32.
[in]outputDestination tensor info. Same as input
Returns
a status

Definition at line 38 of file NEFloor.cpp.

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

References NEFloorKernel::validate().


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