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

Method __init__

backends/nxp/tests/models.py:168–172  ·  view source on GitHub ↗
(self, dim: int)

Source from the content-addressed store, hash-verified

166
167class SoftmaxConvModule(torch.nn.Module):
168 def __init__(self, dim: int):
169 super().__init__()
170
171 self.conv = Conv2dModule()
172 self.softmax = SoftmaxModule(dim=dim)
173
174 def forward(self, x):
175 x = self.conv(x)

Callers

nothing calls this directly

Calls 3

Conv2dModuleClass · 0.70
SoftmaxModuleClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected