[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -667,8 +667,7 @@ class ConvSubsampling(nn.Module):
|
||||
repeat_num: int = 1,
|
||||
) -> torch.Tensor:
|
||||
"""Calculates the output length of a Tensor passed
|
||||
through a convolution or max pooling layer
|
||||
"""
|
||||
through a convolution or max pooling layer"""
|
||||
add_pad: float = all_paddings - kernel_size
|
||||
one: float = 1.0
|
||||
for i in range(repeat_num):
|
||||
|
||||
Reference in New Issue
Block a user