Change8

Migrating to TensorFlow v2.21.0-rc1

Version v2.21.0-rc1 introduces 1 breaking change. This guide details how to update your code.

Released: 3/2/2026

1
Breaking Changes
1
Migration Steps
12
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

tf.liteSQRT operatorEQUAL operatorNOT_EQUAL operatorstfl.casttfl.fully_connectedtfl.slicetf.imagedecode_imagetf.dataNoneTensorSpecelement_spec

Breaking Changes

Issue #1

Support for Python 3.9 has been removed starting with TF 2.21.

Migration Steps

  1. 1
    If you rely on Python 3.9, you must upgrade your environment to Python 3.10 or newer.

Release Summary

Release 2.21.0 removes support for Python 3.9 and introduces significant quantization and data type support enhancements in tf.lite, alongside JPEG XL support in tf.image.

Need More Details?

View the full release notes and all changes for TensorFlow v2.21.0-rc1.

View Full Changelog