[FX][docs] Indent forward (#51802)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51802

lol

Test Plan: Imported from OSS

Reviewed By: zou3519

Differential Revision: D26284311

Pulled By: jamesr66a

fbshipit-source-id: 0d303d8c99131abb8d97e0acd0ac2d810e1e950c
This commit is contained in:
James Reed 2021-02-05 17:51:29 -08:00 committed by Facebook GitHub Bot
parent 8c48af822e
commit 9112f4eded

View file

@ -17,8 +17,8 @@ demonstration of these components in action:
self.param = torch.nn.Parameter(torch.rand(3, 4))
self.linear = torch.nn.Linear(4, 5)
def forward(self, x):
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)
module = MyModule()