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

Method __init__

backends/arm/test/misc/test_transpose_counts.py:107–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105
106class ViewsModule(torch.nn.Module):
107 def __init__(self):
108 super().__init__()
109 self.maxpool = torch.nn.MaxPool2d(1, 1)
110
111 def forward(self, x):
112 x = self.maxpool(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected