torch_to_nnef.tensor.quant.qtract
Classes:
| Name | Description |
|---|---|
QTensorTract |
All QTensorTract implementations. |
QTensorTractScaleOnly |
Tract data format it serializes to: Q4_0. |
Functions:
| Name | Description |
|---|---|
fp_to_tract_q4_0_with_min_max_calibration |
Min-Max method to quantize float tensor to tract supported Q4_0. |
QTensorTract
QTensorTractScaleOnly
Bases: QTensorTract, SupportsOffloadState
Tract data format it serializes to: Q4_0.
Methods:
| Name | Description |
|---|---|
decompress |
Tract dequantization depends on hardware. |