code: def visit_ann_assign(self: Parser, node: doc.AnnAssign) -> None:
      """The annotated assign visiting method for tir.
  
      Parameters
      ----------
      self : Parser
          The visiting parser.
  
      node : doc.AnnAssign
          The doc AST annotated assign node.
      """
      lhs = node.target
      rhs = self.eval_expr(node.value)
      ann_var = self.visit_tvm_annotation(node.annotation)
      if not isinstance(ann_var, Var):
          self.report_error(node.annotation, "Annotation should be Var")
      self.eval_assign(
          target=lhs, source=ann_var, bind_value=bind_assign_value
      )
      frame = T.LetStmt(rhs, var=ann_var)
      frame.add_callback(partial(frame.__exit__, None, None, None))
      frame.__enter__()
  
imports: import contextlib
  from functools import partial
  from typing import Any
  import tvm
  from tvm.ir import GlobalVar, PrimType
  from tvm.tir import Buffer, IterVar, PrimExpr, Var
  from ...ir_builder import ir
  from ...ir_builder import tir
  from ...ir_builder.base import IRBuilder
  from ...ir_builder.base import IRBuilderFrame
  from .._core import Parser, dispatch, doc
label_desc: Use image node_id 9 for calling a global function with example usage: visit_ann_assign(node) without return types