Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
exir/tests/models.py:127–128 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
125
126
class
Mul(nn.Module):
127
def
__init__(self) -> None:
128
super().__init__()
129
130
def
forward(self, input: Tensor, other: Tensor) -> Tensor:
131
# or return torch.mul(input, other)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected