Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ test_repr_array
Function
test_repr_array
tests/python/test_dataclass_repr.py:69–71 ·
view source on GitHub ↗
Test repr of FFI Array uses tuple format.
()
Source
from the content-addressed store, hash-verified
67
68
69
def
test_repr_array() -> None:
70
""
"Test repr of FFI Array uses tuple format."
""
71
assert ReprPrint(tvm_ffi.Array([1, 2, 3])) ==
"(1, 2, 3)"
72
73
74
def
test_repr_array_single() -> None:
Callers
nothing calls this directly
Calls
2
ReprPrint
Function · 0.90
Array
Method · 0.80
Tested by
no test coverage detected