(node_list)
| 9 | |
| 10 | |
| 11 | def _nodes_are_annotated(node_list): |
| 12 | for node in node_list: |
| 13 | quantization_annotation = node.meta.get(Q_ANNOTATION_KEY, None) |
| 14 | if not quantization_annotation: |
| 15 | return False |
| 16 | if quantization_annotation._annotated: |
| 17 | continue |
| 18 | else: |
| 19 | return False |
| 20 | return True |
| 21 | |
| 22 | |
| 23 | def _annotate_nodes(node_tuples, quant_spec, input_node=False): |
no test coverage detected