tvm_tirx.tirx.script.LetAnnotation#
- class tvm_tirx.tirx.script.LetAnnotation(type_spec=None)#
Bases:
objectMarker for an immutable Bind, created by
T.letorT.let[type].Usage in TVMScript:
x: T.let[T.int32] = expr # Bind with an explicit type x: T.let = expr # Bind with an inferred RHS type
- as_var(rhs_dtype=None)#
Resolve to a tir.Var.