From d4e45dcaeb2ad1e47df5601fadd65142a2fd7f37 Mon Sep 17 00:00:00 2001 From: UltralyticsAssistant Date: Sun, 3 Mar 2024 22:30:39 +0000 Subject: [PATCH] Auto-format by https://ultralytics.com/actions --- ultralytics/nn/modules/block.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ultralytics/nn/modules/block.py b/ultralytics/nn/modules/block.py index df8bc6497..c772f8127 100644 --- a/ultralytics/nn/modules/block.py +++ b/ultralytics/nn/modules/block.py @@ -559,7 +559,9 @@ class RepBottleneck(nn.Module): """Rep bottleneck.""" def __init__(self, c1, c2, shortcut=True, g=1, k=(3, 3), e=0.5): - """Initializes a RepBottleneck module with customizable in/out channels, shortcut option, groups and expansion ratio.""" + """Initializes a RepBottleneck module with customizable in/out channels, shortcut option, groups and expansion + ratio. + """ super().__init__() c_ = int(c2 * e) # hidden channels self.cv1 = RepConv(c1, c_, k[0], 1)