mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00:00
Autofix Ruff W (not W605) (mostly whitespace)
This commit is contained in:
@@ -805,7 +805,7 @@ class SwinIR(nn.Module):
|
||||
def forward(self, x):
|
||||
H, W = x.shape[2:]
|
||||
x = self.check_image_size(x)
|
||||
|
||||
|
||||
self.mean = self.mean.type_as(x)
|
||||
x = (x - self.mean) * self.img_range
|
||||
|
||||
|
Reference in New Issue
Block a user