MCPcopy Create free account
hub / github.com/apache/tvm / get_ref_data

Function get_ref_data

tests/python/tirx-transform/test_tir_transform_lower_intrin.py:89–96  ·  view source on GitHub ↗

Get reference data for every pairs

()

Source from the content-addressed store, hash-verified

87
88
89def get_ref_data():
90 """Get reference data for every pairs"""
91 import itertools
92
93 x = range(-10, 10)
94 y = list(range(-10, 10))
95 y.remove(0)
96 return list(itertools.product(x, y))
97
98
99@pytest.mark.skipif(not env.has_llvm(), reason="need llvm")

Callers 2

test_lower_floordivFunction · 0.70
test_lower_floormodFunction · 0.70

Calls 2

productMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…