LayerQuantizationInfo

Models & Types · AiDotNet.Models.Results

Contains quantization information for a specific layer.

Constructors

Constructor Summary
LayerQuantizationInfo()

Properties

Property Summary
bool IsQuantized { get; set; } Gets whether this layer was quantized.
double QuantizationError { get; set; } Gets the quantization error (mean squared error) for this layer.
double Scale { get; set; } Gets the scale factor used for quantization.
int BitWidth { get; set; } Gets the bit width used for this layer’s weights.
int ZeroPoint { get; set; } Gets the zero point used for asymmetric quantization.
long ParameterCount { get; set; } Gets the number of parameters in this layer.
string LayerName { get; set; } Gets the layer name.
string LayerType { get; set; } Gets the layer type (e.g., “Dense”, “Conv2D”).
string SkipReason { get; set; } Gets the reason if this layer was skipped during quantization.