Skip to content

Commit cefda74

Browse files
authored
fix length for ci (#7642)
1 parent 6923eda commit cefda74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datasets/features/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def _load_names_from_file(names_filepath):
11601160
return [name.strip() for name in f.read().split("\n") if name.strip()] # Filter empty names
11611161

11621162

1163-
def Sequence(feature):
1163+
def Sequence(feature, length=-1):
11641164
"""
11651165
A `Sequence` is a utility that automatically converts internal dictionary feature into a dictionary of
11661166
lists. This behavior is implemented to have a compatibility layer with the TensorFlow Datasets library but may be

0 commit comments

Comments
 (0)