Back to Tensorflow

TfLiteQuantization

tensorflow/lite/g3doc/api_docs/c/struct/tf-lite-quantization.html

2.21.0791 B
Original Source

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](/lite/api_docs/c/group/common.html#group__common_1ga9a7dad0b2e1bc9afe44b055915cbddb8)TfLiteQuantization::type

The type of quantization held by params.