ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

QASYMM8_SIGNED support by Quantization layer

Open uu-praveeng opened this issue 6 years ago • 2 comments

Hi,

Does the Quantization/DeQuantization layer support the QASYMM8_SIGNED data type ? It is not clear from the doc.

Thank you, Praveen.

uu-praveeng avatar May 23 '20 04:05 uu-praveeng

Hi Praveen,

Both CL and NEON backend's Quantization (output) /DeQuantization (input) support QASYMM8_SIGNED.

Sorry if documentation wasn't clear enough.

Thanks. Sang-Hoon

sanpar02 avatar May 26 '20 09:05 sanpar02

Hi @uu-praveeng

The function's documentation has been updated in 20.05, thanks for reporting this.

class NEQuantizationLayer : public INESimpleFunctionNoBorder
{
public:
    /** Default constructor */
    NEQuantizationLayer() = default;
    /** Set the input and output tensors.
     *
     * @param[in]  input  Source tensor. The dimensions over the third will be interpreted as batches. Data types supported: QASYMM8/QASYMM8_SIGNED/F32/F16.
     * @param[out] output Destination tensor with the same dimensions of input. Data types supported: QASYMM8/QASYMM8_SIGNED/QASYMM16
     */
    void configure(const ITensor *input, ITensor *output);

morgolock avatar Jun 02 '20 10:06 morgolock