Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test polars round trip * Test Features.from_arrow_schema * Add large attribute to Sequence * Update get_nested_type to support pa.large_list * Update generate_from_arrow_type to support pa.LargeListType * Fix typo * Rename test * Add require_polars to test * Test from_polars large_list * Update test array_cast with large list * Support large list in array_cast * Test cast_array_to_feature for large list * Support large list in cast_array_to_feature * Fix support large list in cast_array_to_feature * Test save_to_disk with a dataset from polars with large_list * Test Features.reorder_fields_as with large Sequence * Fix Features.reorder_fields_as by using all Sequence params * Test save_to/load_from disk round trip with large_list dataset * Test DatasetInfo.from_dict with large Sequence * Test Features to/from dict round trip with large Sequence * Fix features generate_from_dict by using all Sequence params * Remove debug comments * Test cast_array_to_feature with struct array * Fix cast_array_to_feature for struct array * Test cast_array_to_feature from/to the same Sequence feature dtype * Fix cast_array_to_feature for the same Sequence feature dtype * Add more tests for dataset with large Sequence * Remove Sequence.large * Remove Sequence.large from tests * Add LargeList to tests * Replace tests with Sequence.large with LargeList * Replace Sequence.large with LargeList in test_dataset_info_from_dict * Implement LargeList * Test features to_yaml_list with LargeList * Support LargeList in Features._to_yaml_list * Test Features.from_dict with LargeList * Support LargeList in Features.from_dict * Test Features from_yaml_list with LargeList * Support LargeList in Features._from_yaml_list * Test get_nested_type with scalar/list features * Support LargeList in get_nested_type * Test generate_from_arrow_type with primitive/nested data types * Support LargeList in generate_from_arrow_type * Remove Sequence of dict from test cast_array_to_feature * Support LargeList in cast_array_to_feature * Test Features.encode_example * Test encode_nested_example with list types * Support LargeList in encode_nested_example * Test check_non_null_non_empty_recursive with list types * Support LargeList in check_non_null_non_empty_recursive * Test require_decoding with list types * Support LargeList in require_decoding * Test decode_nested_example with list types * Support LargeList in decode_nested_example * Test generate_from_dict with list types * Test Features.from_dict with list types * Test _visit with list types * Support LargeList in _visit * Test require_storage_cast with list types * Support LargeList in require_storage_cast * Refactor test_require_storage_cast_with_list_types * Test require_storage_embed with list types * Support LargeList in require_storage_embed * Fix test_features_reorder_fields_as * Test Features.reorder_fields_as with list types * Test Features.reorder_fields_as with dict within list types * Support LargeList in Features.reorder_fields_as * Test Features.flatten with list types * Test embed_array_storage with list types * Support LargeList in embed_array_storage * Delete unused tf_utils.is_numeric_feature * Add LargeList docstring * Add LargeList to main classes docs * Address requested changes
- Loading branch information