transformers
Improve BatchFeature (.to() works on lists/nested lists of tensors, auto-skip non array conversion)
#42884
Merged

Improve BatchFeature (.to() works on lists/nested lists of tensors, auto-skip non array conversion) #42884

yonigozlan
yonigozlan yonigozlan requested a review from zucchini-nlp zucchini-nlp 274 days ago
yonigozlan yonigozlan requested a review from molbap molbap 274 days ago
github-actions
HuggingFaceDocBuilderDev
zucchini-nlp
zucchini-nlp commented on 2025-12-16
yonigozlan improve .to() to work on lists or nested lists of tensors, automatica…
686d9a37
yonigozlan yonigozlan force pushed from d9e2c832 to 686d9a37 273 days ago
yonigozlan yonigozlan changed the title Improve BatchFeature (.to() works on lists/nested lists of tensors) Improve BatchFeature (.to() works on lists/nested lists of tensors, auto-skip non array conversion) 273 days ago
zucchini-nlp
zucchini-nlp approved these changes on 2025-12-17
yonigozlan consider empty list or nested list as array-like
c6d6a346
yonigozlan Merge remote-tracking branch 'upstream/main' into improve-batch-featu…
9cacca37
yonigozlan
yonigozlan Merge branch 'main' into improve-batch-feature-further
96f01d83
yonigozlan yonigozlan enabled auto-merge (squash) 272 days ago
yonigozlan yonigozlan merged 9f583b1b into main 272 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone