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

Class TupleStructInfo

python/tvm/relax/struct_info.py:191–204  ·  view source on GitHub ↗

StructInfo of a Tuple value. Parameters ---------- fields: List[StructInfo] The struct info of the fields.

Source from the content-addressed store, hash-verified

189
190@tvm_ffi.register_object("relax.TupleStructInfo")
191class TupleStructInfo(StructInfo):
192 """StructInfo of a Tuple value.
193
194 Parameters
195 ----------
196 fields: List[StructInfo]
197 The struct info of the fields.
198 """
199
200 fields: list[StructInfo]
201 span: Span
202
203 def __init__(self, fields: list[StructInfo], span: Span = None) -> None:
204 self.__init_handle_by_constructor__(_ffi_api.TupleStructInfo, fields, span) # type: ignore
205
206
207@tvm_ffi.register_object("relax.FuncStructInfo")

Callers 7

as_struct_infoMethod · 0.90
_convert_inputFunction · 0.85
_paramsFunction · 0.85
_effectsFunction · 0.85
get_functionMethod · 0.85
get_functionMethod · 0.85
get_functionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…