#pragma once
#include <assert.h>
#include <math.h>
#include <stdint.h>
#include <fp16/fp16.h>
#include "xnnpack/math.h"
#include "xnnpack/microparams.h"
static inline struct xnn_qd8_quantization_params xnn_qd8_asymmetric_quantization_params(
float min, float max)
{ … }
static inline struct xnn_qd8_quantization_params xnn_f32_qd8_asymmetric_quantization_params(
float min, float max)
{ … }
static inline struct xnn_qd8_quantization_params xnn_f16_qd8_asymmetric_quantization_params(
uint16_t min, uint16_t max, uint16_t* f16_scale)
{ … }