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

Method __init__

backends/nxp/tests/models.py:133–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131
132class Conv2dAndMaxPool2DModule(torch.nn.Module):
133 def __init__(self):
134 super().__init__()
135
136 self.conv = torch.nn.Conv2d(
137 in_channels=8, out_channels=32, kernel_size=5, bias=True
138 )
139 self.maxpool = torch.nn.MaxPool2d(kernel_size=2, stride=2)
140
141 def forward(self, x):
142 x = self.conv(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected