Compute Library
 19.08
CLDequantizationLayer Class Reference

Basic function to run CLDequantizationLayerKernel that dequantizes an input tensor. More...

#include <CLDequantizationLayer.h>

Collaboration diagram for CLDequantizationLayer:
[legend]

Public Member Functions

void configure (const ICLTensor *input, ICLTensor *output)
 Set the input and output tensors. 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 CLDequantizationLayer. More...
 

Detailed Description

Basic function to run CLDequantizationLayerKernel that dequantizes an input tensor.

Definition at line 37 of file CLDequantizationLayer.h.

Member Function Documentation

◆ configure()

void configure ( const ICLTensor input,
ICLTensor output 
)

Set the input and output tensors.

Parameters
[in]inputSource tensor with at least 3 dimensions. The dimensions over the third will be interpreted as batches. Data types supported: QASYMM8/QSYMM8/QSYMM16.
[out]outputDestination tensor with the same dimensions of input. Data type supported: F16/F32.

Definition at line 31 of file CLDequantizationLayer.cpp.

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

Referenced by CLLSTMLayerQuantized::configure().

◆ validate()

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

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

Parameters
[in]inputInput tensor info. Data types supported: QASYMM8/QSYMM8/QSYMM16.
[in]outputOutput tensor info. Data type supported: F16/F32.
Returns
a status

Definition at line 38 of file CLDequantizationLayer.cpp.

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

References CLDequantizationLayerKernel::validate().

Referenced by CLLSTMLayerQuantized::validate().


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