MCPcopy Create free account
hub / github.com/pytorch/executorch / forward

Method forward

extension/wasm/test/test_model.py:9–10  ·  view source on GitHub ↗
(self, x, n)

Source from the content-addressed store, hash-verified

7
8class IndexModel(torch.nn.Module):
9 def forward(self, x, n):
10 return x[n]
11
12
13class AddAllModel(torch.nn.Module):

Callers 2

unittests.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected