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
@@ -49,13 +49,12 @@ from .utils import (
|
||||
|
||||
|
||||
class SkyworkR1VImagePixelInputs(TensorSchema):
|
||||
"""
|
||||
Dimensions:
|
||||
- bnp: Batch size * number of images * (1 + num_patches)
|
||||
- c: Number of channels (3)
|
||||
- h: Height
|
||||
- w: Width
|
||||
- bn: Batch size * number of images
|
||||
"""Dimensions:
|
||||
- bnp: Batch size * number of images * (1 + num_patches)
|
||||
- c: Number of channels (3)
|
||||
- h: Height
|
||||
- w: Width
|
||||
- bn: Batch size * number of images
|
||||
"""
|
||||
|
||||
type: Literal["pixel_values"] = "pixel_values"
|
||||
@@ -72,12 +71,11 @@ class SkyworkR1VImagePixelInputs(TensorSchema):
|
||||
|
||||
|
||||
class SkyworkR1VImageEmbeddingInputs(TensorSchema):
|
||||
"""
|
||||
Dimensions:
|
||||
- ni: Number of images
|
||||
- ifs: Image feature size
|
||||
- hs: Hidden size (must match the hidden size of language model
|
||||
backbone)
|
||||
"""Dimensions:
|
||||
- ni: Number of images
|
||||
- ifs: Image feature size
|
||||
- hs: Hidden size (must match the hidden size of language model
|
||||
backbone)
|
||||
"""
|
||||
|
||||
type: Literal["image_embeds"] = "image_embeds"
|
||||
|
||||
Reference in New Issue
Block a user