(node: Node, quant_config: QuantizationConfig)
| 255 | |
| 256 | @register_annotator([torch.ops.aten.embedding.default]) |
| 257 | def annotate_embedding_op(node: Node, quant_config: QuantizationConfig) -> None: |
| 258 | if _is_annotated(node): |
| 259 | return |
| 260 | |
| 261 | wgt_node = node.args[0] |
| 262 | annotate_input_qspec_map(node, wgt_node, quant_config.activation) |
| 263 | _mark_as_annotated([node]) |
nothing calls this directly
no test coverage detected