Collect input/output quantization properties for a node. Attributes: quant_inputs (List[_QuantProperty]): Quantization specs for inputs indexed by argument positions. quant_output (Optional[_QuantProperty]): Quantization spec for the node's output when ap
| 65 | |
| 66 | |
| 67 | class _OpQuantProperties: |
| 68 | """Collect input/output quantization properties for a node. |
| 69 | |
| 70 | Attributes: |
| 71 | quant_inputs (List[_QuantProperty]): Quantization specs for inputs |
| 72 | indexed by argument positions. |
| 73 | quant_output (Optional[_QuantProperty]): Quantization spec for the |
| 74 | node's output when applicable. |
| 75 | |
| 76 | """ |
| 77 | |
| 78 | def __init__(self): |
| 79 | self.quant_inputs: List[_QuantProperty] = [] |
| 80 | self.quant_output: Optional[_QuantProperty] = None |
| 81 | |
| 82 | |
| 83 | class _QParams(NamedTuple): |
no outgoing calls
no test coverage detected