Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/datasets/features/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ def _load_names_from_file(names_filepath):
return [name.strip() for name in f.read().split("\n") if name.strip()] # Filter empty names


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