Checks if the line contains a TVMScript annotator for a class These match either `@I.ir_module` or `@R.rewriter`, or their imported names `@ir_module` or `@rewriter`.
(line: str)
| 186 | """ |
| 187 | |
| 188 | def _is_tvmscript_class_annotator(line: str) -> bool: |
| 189 | """Checks if the line contains a TVMScript annotator for a class |
| 190 | |
| 191 | These match either `@I.ir_module` or `@R.rewriter`, or their |
| 192 | imported names `@ir_module` or `@rewriter`. |
| 193 | """ |
| 194 | |
| 195 | return line.startswith("@") and ("ir_module" in line or "rewriter" in line) |
| 196 | |
| 197 | if len(frames) > 2: |
| 198 | frame_info = frames[2] |
no outgoing calls
no test coverage detected
searching dependent graphs…