Function tvm::ffi::ReprPrint#
Defined in File dataclass.h
Function Documentation#
-
String tvm::ffi::ReprPrint(const Any &value)#
Produce a human-readable repr string for an ffi::Any value.
Recursively formats the value using reflection metadata. Handles cycles (prints “…”) and DAGs (caches repr strings). Custom ffi_repr hooks are supported via the reflection type attribute system.
- Parameters:
value – The value to repr-print.
- Returns:
The repr string.