(node: Node, quant_config: QuantizationConfig)
| 179 | |
| 180 | |
| 181 | def annotate_placeholder(node: Node, quant_config: QuantizationConfig) -> None: |
| 182 | if _is_annotated(node): |
| 183 | return |
| 184 | |
| 185 | if _is_float_activation_tensor(node): |
| 186 | _annotate_output_qspec(node, quant_config.activation) |
| 187 | |
| 188 | _mark_as_annotated([node]) |
| 189 | |
| 190 | |
| 191 | @register_annotator( |
no test coverage detected