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

Method __init__

examples/models/toy_model/model.py:78–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77class SoftmaxModule(torch.nn.Module, EagerModelBase):
78 def __init__(self):
79 super().__init__()
80 self.softmax = torch.nn.Softmax()
81
82 def forward(self, x):
83 z = self.softmax(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected