(depth: int)
| 836 | |
| 837 | |
| 838 | def _make_shared_binary_dag(depth: int) -> object: |
| 839 | node: object = 1 |
| 840 | for _ in range(depth): |
| 841 | # Two edges point to the same child object (DAG with heavy sharing). |
| 842 | node = tvm_ffi.Array([node, node]) |
| 843 | return node |
| 844 | |
| 845 | |
| 846 | def test_shared_dag_hash_scaling_not_exponential() -> None: |
no test coverage detected