Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
class
IndexModel(torch.nn.Module):
9
def
forward(self, x, n):
10
return
x[n]
11
12
13
class
AddAllModel(torch.nn.Module):
Callers
2
unittests_etdump.js
File · 0.45
unittests.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected