Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -1315,6 +1315,7 @@ class MimoAudioEncoder(nn.Module):
|
||||
|
||||
Returns:
|
||||
[T//group_size, group_size, audio_channels]
|
||||
|
||||
"""
|
||||
T = audio.shape[0]
|
||||
audio = audio[:, : self.audio_channels]
|
||||
@@ -1355,6 +1356,7 @@ class MimoAudioEncoder(nn.Module):
|
||||
Tuple of:
|
||||
- audio_embeds: [total_tokens, out_hidden_size] concatenated embeddings
|
||||
- item_token_lens: list of int, number of tokens per input item
|
||||
|
||||
"""
|
||||
if self.audio_tokenizer is None:
|
||||
raise RuntimeError(
|
||||
|
||||
Reference in New Issue
Block a user