Fix two overindent lint errors in test/common_nn.py. (#22287)
Summary:
This keeps causing lint tests to fail.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22287
Differential Revision: D16024524
Pulled By: bddppq
fbshipit-source-id: a3e3780a55943283e9c854e94ac06ea4715e5319
diff --git a/test/common_nn.py b/test/common_nn.py
index 8fb3ca0..f5aec5c 100644
--- a/test/common_nn.py
+++ b/test/common_nn.py
@@ -174,7 +174,7 @@
constructor_args=(2, -100),
input_size=(10, 20),
reference_fn=(lambda i, *_: ((i * 2) > -100).type_as(i) * i +
- ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))),
+ ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))),
desc='beta_threshold',
),
dict(
@@ -2221,7 +2221,7 @@
constructor_args=(2, -100),
input_size=(),
reference_fn=(lambda i, *_: ((i * 2) > -100).type_as(i) * i +
- ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))),
+ ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))),
desc='beta_threshold_scalar',
),
dict(