MCPcopy Index your code
hub / github.com/apache/tvm / _make_dataset

Function _make_dataset

tests/python/relax/test_training_trainer_numeric.py:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50
51def _make_dataset():
52 N = 100
53 return [[np.ones((1, 10)).astype(np.float32), np.array([[0, 0, 1, 0, 0]], np.float32)]] * N
54
55
56@tvm.testing.parametrize_targets("llvm")

Callers 4

test_executeFunction · 0.85
test_execute_numericFunction · 0.85
test_load_export_paramsFunction · 0.85
test_setting_errorFunction · 0.85

Calls 2

onesMethod · 0.80
astypeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…