Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
test/models/export_program.py:56–57 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
54
55
class
ModuleIndex(nn.Module):
56
def
__init__(self):
57
super(ModuleIndex, self).__init__()
58
59
def
forward(self, x):
60
# Weird index that happens to generate a None in torch.index.Tensor_out
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected