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

Method forward

tests/python/nightly/test_nnapi/test_from_exported_to_cuda.py:722–723  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

720 self.y = torch.tensor(np.random.rand(2, 3).astype("float32"))
721
722 def forward(self, x):
723 return x.mul(self.y)
724
725 torch_module = MulModule().eval()
726 raw_data = np.random.rand(2, 3).astype("float32")

Callers

nothing calls this directly

Calls 1

mulMethod · 0.45

Tested by

no test coverage detected