Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
examples/models/toy_model/model.py:14–15 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
13
class
MulModule(torch.nn.Module, EagerModelBase):
14
def
__init__(self) -> None:
15
super().__init__()
16
17
def
forward(self, input, other):
18
return
input * other
Callers
6
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected