MCPcopy Create free account
hub / github.com/apache/tvm / StringImm

Class StringImm

python/tvm/relax/expr.py:870–877  ·  view source on GitHub ↗

Represent a string literal constant.

Source from the content-addressed store, hash-verified

868
869@tvm_ffi.register_object("relax.expr.StringImm")
870class 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")

Callers 7

call_py_funcFunction · 0.90
convert_to_exprFunction · 0.70
printFunction · 0.50
assert_opFunction · 0.50
alloc_storageFunction · 0.50
alloc_tensorFunction · 0.50
alloc_storageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…