Skip to content

Commit a8c7a0e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8264cac commit a8c7a0e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

monai/networks/layers/filtering.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def __init__(self, spatial_sigma, color_sigma):
402402
self.sigma_y = torch.nn.Parameter(torch.tensor(spatial_sigma[1]))
403403
self.sigma_z = torch.nn.Parameter(torch.tensor(spatial_sigma[2]))
404404
self.sigma_color = torch.nn.Parameter(torch.tensor(color_sigma))
405-
405+
406406
def forward(self, input_tensor, guidance_tensor):
407407
if len(input_tensor.shape) < 3:
408408
raise ValueError(
@@ -445,4 +445,3 @@ def forward(self, input_tensor, guidance_tensor):
445445
prediction = prediction.squeeze(4)
446446

447447
return prediction
448-

0 commit comments

Comments
 (0)