Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed Nov 21, 2024
1 parent e4caad5 commit f7a436d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytorch_toolbelt/modules/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ def __init__(self, input_spec: FeatureMapsSpecification):
@abstractmethod
def forward(
self, feature_maps: List[Tensor], output_size: Union[Tuple[int, int], torch.Size, None] = None
) -> Union[Tensor, Tuple[Tensor, ...], List[Tensor], Mapping[str, Tensor]]: ...
) -> Union[Tensor, Tuple[Tensor, ...], List[Tensor], Mapping[str, Tensor]]:
...

@torch.jit.unused
def apply_to_final_layer(self, func: Callable[[nn.Module], None]):
Expand Down

0 comments on commit f7a436d

Please sign in to comment.