
Posted by the Tensor Flow Team
is a TensorFlow API for distributed processing that allows models to seamlessly move from data parallelism to single program multiple data (SPMD) based model parallelism, including spatial partitioning. It gives you tools to easily train models where the model weights or inputs are so large they don’t fit on a single device. We’ve made several updates in TensorFlow v2.11.Keras
The new Keras Optimizers API is ready
In , tf.keras.optimizers.experimental, to provide a more unified and expanded catalog of built-in optimizers which can be more easily customized and extended. In TensorFlow 2.11, we’re happy to share that the Optimizer migration is complete, and the new optimizers are on by default.
The old Keras Optimizers are available under tf.keras.optimizers.legacy. These will never be deleted, but they will not see any new feature additions. New optimizers will only be implemented based on for possible issues, and the . Group Normalization divides the channels into groups and computes within each group the mean and variance for normalization. Empirically, its accuracy can be more stable than batch norm in a wide range of small batch sizes, if learning rate is adjusted linearly with batch sizes. See the API doc for more details, and try it out!
new_embedding = layers.Embedding(vocab_size, embedding_depth) |
documents = tf.constant([ |
>>> st[0].to_pyval() |
Under the hood, the fields are encoded as Tensors and RaggedTensors.
>>> st.field_value(("tokens", "length")) |
You can learn more in the API doc linked above.
Coming soon
Deprecating Estimator and Feature Column
Effective with the release of TensorFlow 2.12, TensorFlow 1’s Estimator and Feature Column APIs will be considered fully deprecated, in favor of their robust and complete equivalents in Keras. As modules running v1.Session-style code, Estimators and Feature Columns are difficult to write correctly and are especially prone to behave unexpectedly, especially when combined with code from TensorFlow 2.
As the primary gateways into most of the model development done in TensorFlow 1, we’ve taken care to ensure their replacements have feature parity and are actively supported. Going forward, model building with - either directly or through the TF 2.12 one-stop utility for more information. To stay up to date, you can read the TensorFlow , or subscribe to . For feedback, please file an issue on . Thank you!
Community-Analysen & Experten-Meinungen 0
Verwandte Story-Cluster & Quellen (Vektor-KI)
Ähnliche Beiträge
Auch interessante Nachrichten What’s new in TensorFlow 2.11?
Thematisch verwandte Begriffe: Whats, TensorFlow · 6 Treffer
Roundcube Fixes 12 Security Flaws Including Zero-Click XSS and SSRF Bypass
Microsoft just stumbled onto a way to fix Windows 11, but it hasn't realized it yet
WinVisor – A hypervisor-based emulator for Windows x64 user-mode executables
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
SOCIAL SHARE CARD GENERATOR