Represent a string literal constant.
| 868 | |
| 869 | @tvm_ffi.register_object("relax.expr.StringImm") |
| 870 | class StringImm(Expr, Scriptable): |
| 871 | """Represent a string literal constant.""" |
| 872 | |
| 873 | value: str |
| 874 | span: Span | None |
| 875 | |
| 876 | def __init__(self, value: str, span: Span | None = None) -> None: |
| 877 | self.__init_handle_by_constructor__(_ffi_api.StringImm, value, span) # type: ignore |
| 878 | |
| 879 | |
| 880 | @tvm_ffi.register_object("relax.expr.DataTypeImm") |
no outgoing calls
no test coverage detected
searching dependent graphs…