MCPcopy Index your code
hub / github.com/apache/tvm / _normalize_struct_info

Function _normalize_struct_info

python/tvm/relax/script/parser/entry.py:527–532  ·  view source on GitHub ↗
(struct_info, dict_globals: dict[str, Any] | None = None)

Source from the content-addressed store, hash-verified

525
526
527def _normalize_struct_info(struct_info, dict_globals: dict[str, Any] | None = None) -> StructInfo:
528 if isinstance(struct_info, StructInfo):
529 return struct_info
530 else:
531 proxy = _normalize_struct_info_proxy(struct_info)
532 return proxy.as_struct_info(dict_globals)

Callers 2

eval_struct_infoFunction · 0.85
match_castFunction · 0.85

Calls 2

as_struct_infoMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…