compression:quantization (fields container)
Version: 0.0.0
Description
Scales all the fields of a fields container to a given precision threshold, then rounds all the values to the unit.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | input_fc | fields_container | Fields container to be quantized. |
| Pin 1 Required | threshold | double, field, fields_container | Precision threshold desired. Case double : the threshold is applied on all the fields of the input fields container. Case field with one, numComp or input size values : the threshold is used for each field of the input fields container. Case fields container : the corresponding threshold field is found by matching label. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | output_fc | fields_container | Quantized fields container. |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
Scripting
Category: compression
Plugin: N/A
Scripting name: quantization_fc
Full name: compression.quantization_fc
Internal name: quantization_fc
License: any_dpf_supported_increments
Changelog
- Version 0.0.0: Initial release.