Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] Apply ufmt to all Python files except for pippy/fx/*.py and change the check.sh to use ufmt #824

Merged
merged 10 commits into from
Jun 28, 2023
Merged
Prev Previous commit
Next Next commit
[BE] Apply ufmt to all Python files except for pippy/fx/*.py and chan…
…ge the check.sh to use ufmt
  • Loading branch information
fegin committed Jun 28, 2023
commit c2a711d392dd7470e19fb5e45db502d44e93a1b7
13 changes: 2 additions & 11 deletions test/test_fx_experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -1499,12 +1499,7 @@ def __init__(self):
def forward(self, x):
return self.model(x) + self.model2(x)

(
N,
C,
H,
W,
) = (
(N, C, H, W) = (
1,
3,
224,
Expand Down Expand Up @@ -1537,11 +1532,7 @@ def test_optimize_for_inference_cpu_torchvision(self):
with torch.no_grad():
for model_type in models:
model = model_type()
(
C,
H,
W,
) = (
(C, H, W) = (
3,
224,
224,
Expand Down