TfLiteQuantization

#include <common.h>

Structure specifying the quantization used by the tensor, if-any.

Summary

Public attributes

params
void *
Holds an optional reference to a quantization param structure.
type
TfLiteQuantizationType
The type of quantization held by params.

Public attributes

params

void * TfLiteQuantization::params

Holds an optional reference to a quantization param structure.

The actual type depends on the value of the type field (see the comment there for the values and corresponding types).

type

TfLiteQuantizationType TfLiteQuantization::type

The type of quantization held by params.