(self, op: relax.ExternFunc)
| 133 | ) |
| 134 | |
| 135 | def visit_extern_func_(self, op: relax.ExternFunc) -> str: |
| 136 | # ExternFunc does not inherit from relax.Expr either, |
| 137 | # so it doesn't have struct_info fields and we don't use build_expr |
| 138 | return self.build_ast_node("ExternFunc", global_symbol=wrap_quotes(op.global_symbol)) |
| 139 | |
| 140 | def visit_global_var_(self, op: relax.GlobalVar) -> str: |
| 141 | return self.build_expr(op, "GlobalVar", name_hint=wrap_quotes(op.name_hint)) |
nothing calls this directly
no test coverage detected