Skip to content

Commit

Permalink
Black reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed Aug 19, 2023
1 parent 79bb9ba commit dd8fc7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytorch_toolbelt/modules/heads/deep_supervision.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ def get_output_spec(self) -> FeatureMapsSpecification:

def apply_to_final_layer(self, func: Callable[[nn.Module], None]):
for head in self.heads:
func(head)
func(head)
2 changes: 1 addition & 1 deletion pytorch_toolbelt/modules/heads/progressive_shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ def forward(self, feature_maps, output_size=None):
return output

def apply_to_final_layer(self, func: Callable[[nn.Module], None]):
func(self.final)
func(self.final)

0 comments on commit dd8fc7f

Please sign in to comment.