MCPcopy Create free account
hub / github.com/apache/tvm-ffi / _make_nested_singleton_array

Function _make_nested_singleton_array

tests/python/test_dataclass_hash.py:655–659  ·  view source on GitHub ↗
(depth: int)

Source from the content-addressed store, hash-verified

653
654
655def _make_nested_singleton_array(depth: int) -> object:
656 value: object = 0
657 for _ in range(depth):
658 value = tvm_ffi.Array([value])
659 return value
660
661
662# ---------------------------------------------------------------------------

Calls 1

ArrayMethod · 0.80

Tested by

no test coverage detected