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

Method print

tests/python/relax/test_tvmscript_parser.py:1978–1980  ·  view source on GitHub ↗
(x: R.Tensor((), "int32"))

Source from the content-addressed store, hash-verified

1976 class Mixture:
1977 @R.function(pure=False)
1978 def print(x: R.Tensor((), "int32")) -> R.Tensor((), "int32"):
1979 y = R.print(x, format="x: {}")
1980 return x
1981
1982 @R.function(pure=False)
1983 def assert_func(x: R.Tensor((), "int32")) -> R.Tensor((), "int32"):

Callers 15

printFunction · 0.45
test_unlabeled_impureFunction · 0.45
test_labeled_impureFunction · 0.45
test_force_pureFunction · 0.45
impure_funcMethod · 0.45
impure_innerMethod · 0.45
recursive_impureMethod · 0.45
barFunction · 0.45
fooMethod · 0.45
fooMethod · 0.45
mainMethod · 0.45

Calls 1

TensorMethod · 0.80

Tested by

no test coverage detected