From fe92fd93e52b00b8ee955cb5c202f873535c3ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 29 Oct 2023 21:09:10 +0000 Subject: [PATCH] fix adaptive_avgmax_pool.py remove extra whitespace in `SelectAdaptivePool2d`'s `__repr__` --- timm/layers/adaptive_avgmax_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/layers/adaptive_avgmax_pool.py b/timm/layers/adaptive_avgmax_pool.py index e18ea998e5..7e4b762d80 100644 --- a/timm/layers/adaptive_avgmax_pool.py +++ b/timm/layers/adaptive_avgmax_pool.py @@ -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) + ')'