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

Method impure_func

tests/python/relax/test_analysis_contains_impure_call.py:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 class ImpureTest:
41 @R.function(pure=False)
42 def impure_func() -> R.Object:
43 y = R.print(format="I am a message")
44 return y
45
46 assert contains_impure_call(ImpureTest["impure_func"])
47

Callers

nothing calls this directly

Calls 1

printMethod · 0.45

Tested by

no test coverage detected