Skip to content

Commit 74c47a7

Browse files
committed
fix: modular conversion
1 parent 082715b commit 74c47a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/models/lw_detr/modeling_lw_detr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@ def get_input_embeddings(self) -> LwDetrViTEmbeddings:
16161616

16171617
@check_model_inputs
16181618
@auto_docstring
1619-
def forward(self, pixel_values: torch.Tensor = None, **kwargs: Unpack[TransformersKwargs]) -> BackboneOutput:
1619+
def forward(self, pixel_values: torch.Tensor, **kwargs: Unpack[TransformersKwargs]) -> BackboneOutput:
16201620
r"""
16211621
Examples:
16221622

0 commit comments

Comments
 (0)