From 93201d06767a143eb67b669e7eeb2e066d17b758 Mon Sep 17 00:00:00 2001 From: Tongzhou Wang Date: Tue, 16 Apr 2019 20:25:11 -0700 Subject: [PATCH] Fix lint Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19310 Differential Revision: D14952046 Pulled By: soumith fbshipit-source-id: 1bbaaad6f932a832ea8e5e804d0d9cd9140a5071 --- test/test_jit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_jit.py b/test/test_jit.py index bc47572..2947737 100644 --- a/test/test_jit.py +++ b/test/test_jit.py @@ -11369,7 +11369,8 @@ a") def forward(self, _0: Tensor) -> Tensor: _1 = torch.zeros([10], dtype=6, layout=0, device=torch.device("cpu")) - result = torch.to(torch.fill_(_1, 5), dtype=6, layout=0, device=torch.device("cpu"), non_blocking=False, copy=False) + result = torch.to(torch.fill_(_1, 5), dtype=6, layout=0, device=torch.device("cpu"), + non_blocking=False, copy=False) result2 = torch.rand([10], dtype=6, layout=0, device=torch.device("cpu")) result3 = torch.rand_like(result2, dtype=6, layout=0, device=torch.device("cpu")) _2 = torch.add(torch.add(result, result2, alpha=1), result3, alpha=1) -- 2.7.4