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

Method main

tests/python/relax/test_frontend_from_fx.py:757–768  ·  view source on GitHub ↗
(
            input_1: R.Tensor((4, 128, 256), dtype="float32"),
            input_2: R.Tensor((4, 256, 512), dtype="float32"),
        )

Source from the content-addressed store, hash-verified

755 class Expected:
756 @R.function
757 def main(
758 input_1: R.Tensor((4, 128, 256), dtype="float32"),
759 input_2: R.Tensor((4, 256, 512), dtype="float32"),
760 ) -> R.Tensor((4, 128, 512), dtype="float32"):
761 # block 0
762 with R.dataflow():
763 lv: R.Tensor((4, 128, 512), dtype="float32") = R.matmul(
764 input_1, input_2, out_dtype="float32"
765 )
766 gv: R.Tensor((4, 128, 512), dtype="float32") = lv
767 R.output(gv)
768 return gv
769
770 verify_model(
771 BMM(),

Callers

nothing calls this directly

Calls 15

TensorMethod · 0.80
dataflowMethod · 0.80
outputMethod · 0.80
whereMethod · 0.80
subtractMethod · 0.80
stdMethod · 0.80
varianceMethod · 0.80
prodMethod · 0.80
matmulMethod · 0.45
splitMethod · 0.45
fullMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected