Represent a data type constant.
| 879 | |
| 880 | @tvm_ffi.register_object("relax.expr.DataTypeImm") |
| 881 | class DataTypeImm(Expr, Scriptable): |
| 882 | """Represent a data type constant.""" |
| 883 | |
| 884 | value: DataType |
| 885 | span: Span | None |
| 886 | |
| 887 | def __init__(self, value: DataType | str, span: Span | None = None) -> None: |
| 888 | self.__init_handle_by_constructor__(_ffi_api.DataTypeImm, value, span) # type: ignore |
| 889 | |
| 890 | |
| 891 | @tvm_ffi.register_object("relax.expr.Binding") |
no outgoing calls
no test coverage detected
searching dependent graphs…