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

Function test_source_base

tests/python/tvmscript/test_tvmscript_parser_source.py:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def test_source_base():
41 source = Source(matmul)
42 assert (
43 source.source_name == inspect.getsourcefile(matmul)
44 and source.start_line is not None
45 and source.start_column == 0
46 and source.source == inspect.getsource(matmul)
47 and source.full_source == inspect.getsource(inspect.getmodule(matmul))
48 )
49
50
51def test_source_ast():

Callers

nothing calls this directly

Calls 1

SourceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…