File tree Expand file tree Collapse file tree
tensorflow_data_validation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323## Deprecations
2424
25+ * ` tfdv.DecodeCSV ` and ` tfdv.DecodeTFExample ` are deprecated. Use
26+ ` tfx_bsl.public.tfxio.CsvTFXIO ` and ` tfx_bsl.public.tfxio.TFExampleRecord `
27+ instead.
28+
2529# Version 0.26.0
2630
2731## Major Features and Improvements
Original file line number Diff line number Diff line change 3232from tensorflow_data_validation .api .validation_api import validate_instance
3333from tensorflow_data_validation .api .validation_api import validate_statistics
3434
35- # Import coders .
35+ # DecodeCSV is deprecated. Please use tfx_bsl.public.tfxio.CsvTFXIO instead .
3636from tensorflow_data_validation .coders .csv_decoder import DecodeCSV
37+ # DecodeTFExample is deprecated. Please use tfx_bsl.public.tfxio.TFExampleRecord
38+ # instead.
3739from tensorflow_data_validation .coders .tf_example_decoder import DecodeTFExample
3840
3941# Import stats generators.
Original file line number Diff line number Diff line change 3232@beam .typehints .with_input_types (Text )
3333@beam .typehints .with_output_types (pa .RecordBatch )
3434class DecodeCSV (beam .PTransform ):
35- """Decodes CSV records into Arrow RecordBatches."""
35+ """Decodes CSV records into Arrow RecordBatches.
36+
37+ DEPRECATED: please use tfx_bsl.public.CsvTFXIO instead.
38+ """
3639
3740 def __init__ (self ,
3841 column_names : List [types .FeatureName ],
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ def DecodeTFExample(
3434) -> beam .pvalue .PCollection : # pylint: disable=invalid-name
3535 """Decodes serialized TF examples into Arrow RecordBatches.
3636
37+ DEPRECATED: please use tfx_bsl.public.TFExampleRecord instead.
38+
3739 Args:
3840 examples: A PCollection of strings representing serialized TF examples.
3941 desired_batch_size: Batch size. The output Arrow RecordBatches will have as
You can’t perform that action at this time.
0 commit comments