We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c48af8 commit 9112f4eCopy full SHA for 9112f4e
torch/fx/__init__.py
@@ -17,8 +17,8 @@ def __init__(self):
17
self.param = torch.nn.Parameter(torch.rand(3, 4))
18
self.linear = torch.nn.Linear(4, 5)
19
20
- def forward(self, x):
21
- return self.linear(x + self.param).clamp(min=0.0, max=1.0)
+ def forward(self, x):
+ return self.linear(x + self.param).clamp(min=0.0, max=1.0)
22
23
module = MyModule()
24
0 commit comments