Version 0.28.0
February 23, 2021 ยท View on GitHub
Major Features and Improvements
- Large vocabularies are now computed faster due to partially parallelizing
VocabularyOrderAndWrite.
Bug Fixes and Other Changes
- Generic
tf.SparseTensorinput support has been added totft.scale_to_0_1,tft.scale_to_z_score,tft.scale_by_min_max,tft.min,tft.max,tft.mean,tft.var,tft.sum,tft.sizeandtft.word_count. - Optimize SavedModel written out by
tf.Transformwhen using native TF2 to speed up loading it. - Added
tft_beam.PTransformAnalyzeras a base PTransform class fortft.ptransform_analyzerusers who wish to have access to a base temporary directory. - Fix an issue where >2D
SparseTensors may be incorrectly represented in instance_dicts format. - Added support for out-of-vocabulary keys for per_key mappers.
- Added
tft.get_num_buckets_for_transformed_featurewhich provides the number of buckets for a transformed feature if it is a direct output oftft.bucketize,tft.apply_buckets,tft.compute_and_apply_vocabularyortft.apply_vocabulary. - Depends on
apache-beam[gcp]>=2.28,<3. - Depends on
numpy>=1.16,<1.20. - Depends on
tensorflow-metadata>=0.28.0,<0.29.0. - Depends on
tfx-bsl>=0.28.1,<0.29.0.
Breaking changes
- Autograph is disabled when the preprocessing fn is traced using tf.function
when
force_tf_compat_v1=Falseand TF2 behavior is enabled.
Deprecations
- N/A