You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add DFS-based ffi.ReprPrint for unified object repr
- Single C++ ffi.ReprPrint function handles all types
- DFS with 3-state tracking (NotVisited/InProgress/Done):
- DAGs: memoized repr returned in full on re-encounter
- Cycles: detected via InProgress state, shown as ...
- Addresses hidden by default; set TVM_FFI_REPR_WITH_ADDR=1 to show
- Per-field Repr(false) to exclude fields from repr output
- Built-in repr for String, Bytes, Tensor, Shape, Array, List, Map
- All Python __repr__ methods delegate to this function
0 commit comments