(
quantization_annotation: QuantizationAnnotation,
)
| 174 | |
| 175 | |
| 176 | def _get_output_qspec_from_node( |
| 177 | quantization_annotation: QuantizationAnnotation, |
| 178 | ) -> QuantizationSpecBase | None: |
| 179 | out_spec = quantization_annotation.output_qspec |
| 180 | if isinstance(out_spec, SharedQuantizationSpec): |
| 181 | out_spec = _resolve_shared_qspec(out_spec) |
| 182 | return out_spec |
| 183 | |
| 184 | |
| 185 | def _get_input_qspecs_from_node( |
no test coverage detected