Skip to content

Commit

Permalink
fix adaptive_avgmax_pool.py
Browse files Browse the repository at this point in the history
remove extra whitespace in `SelectAdaptivePool2d`'s `__repr__`
  • Loading branch information
Laurent2916 authored and rwightman committed Oct 30, 2023
1 parent 97450d6 commit fe92fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timm/layers/adaptive_avgmax_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def feat_mult(self):
return adaptive_pool_feat_mult(self.pool_type)

def __repr__(self):
return self.__class__.__name__ + ' (' \
return self.__class__.__name__ + '(' \
+ 'pool_type=' + self.pool_type \
+ ', flatten=' + str(self.flatten) + ')'

0 comments on commit fe92fd9

Please sign in to comment.