2026年09月05日 星期六

【IT技术】TensorFlow 2.10在Keras和Decision Forests上表现出色

TensorFlow 2.10是谷歌开发的开源机器学习平台的升级版,已经发布,为Keras API带来了新的用户友好特性,改进了aarch64 CPU性能,并推出了TensorFlow决策森林1.0,开发人员现在将其描述为稳定、成熟,并为专业环境做好了准备。

TensorFlow 2.10是谷歌开发的开源机器学习平台的升级版,已经发布,为Keras API带来了新的用户友好特性,改进了aarch64 CPU性能,并推出了TensorFlow决策森林1.0,开发人员现在将其描述为稳定、成熟,并为专业环境做好了准备。

在Keras的改进中,TensorFlow 2.10扩展并统一了Keras注意层的掩码处理。添加了两个新功能。所有三层,tf。keras。layers。注意,tf.keras.layers。AdditiveAttention,和tf.keras.layers。MultiHeadAttention,现在支持临时注意(使用use_causal_mask参数来调用)和隐式屏蔽(在tf.keras.layers.Embedding中设置mask_zero=True)。这些新功能简化了transformer风格模型的实现。

同样在TensorFlow 2.10中,Keras初始化器被做成了无状态和确定性的,构建在无状态TF随机操作的基础上。种子Keras初始化器和非种子Keras初始化器每次调用时都会生成相同的值。无状态初始化器帮助Keras支持新特性,例如使用DTensor进行多客户端模型训练。

TensorFlow的安装说明可以在Tensorflow.org上找到。TensorFlow 2.1的其他新功能和改进:

1、backupandstore检查点提供步骤级粒度。

2、用户可以通过新的实用程序keras.utils.audio_dataset_from_directory从音频文件目录中轻松生成音频数据集。

3、EinsumDense层不再是实验性的。

4、随着TensorFlow 2.10的发布,TensorFlow决策森林(TF-DF),一个用于训练、服务和解释决策森林模型的算法集合,达到了1.0的状态。

5、aarch64 CPU的性能得到了改进。

6、通过TensorFlow-DirectML插件,GPU支持在Windows上得到了扩展。

7、实验性API tf.data.experimental.from_list创建了一个包含给定元素列表的tf.data.Dataset。返回的数据集将逐个生成列表中的项。

原文:

TensorFlow 2.10, an upgrade to the Google-developed open source machine learning platform, has been released, bringing new user-friendly features to the Keras API, improved aarch64 CPU performance, and the arrival of TensorFlow Decision Forests 1.0, which the developers now describe as stable, mature, and ready for professional environments.

Among the Keras improvements, TensorFlow 2.10 expands and unifies mask handling for Keras attention layers. Two new features have been added. All three layers, tf.keras.layers.Attentiontf.keras.layers.AdditiveAttention, and tf.keras.layers.MultiHeadAttention, now support casual attention (with a use_causal_mask argument to call) and implicit masking (set mask_zero=True in tf.keras.layers.Embedding). These new capabilities simplify implementation of any Transformer-style model.

Also in TensorFlow 2.10, Keras initializers have been made stateless and deterministic, built on top of stateless TF random ops. Both seeded and unseeded Keras initializers will generate the same values every time they are called. The stateless initializer helps Keras support new features such as multi-client model training with DTensor.

Installation instructions for TensorFlow can be found at Tensorflow.org. Other new capabilities and improvements in TensorFlow 2.1:

BackupAndRestore checkpoints offer step level granularity.

Users can easily generate an audio dataset from a directory of audio files, via a new utility, keras.utils.audio_dataset_from_directory.

The EinsumDense layer is no longer experimental.

In conjunction with the release of TensorFlow 2.10, TensorFlow Decision Forests (TF-DF), a collection of algorithms for training, serving, and interpreting decision forest models, reaches 1.0 status.

Performance has been improved for the aarch64 CPU.

GPU support has been expanded on Windows, through the TensorFlow-DirectML plug-in.

An experimental API, tf.data.experimental.from_list, creates a tf.data.Dataset comprising the given list of elements. The returned dataset will produce items in the list one by one.

本文由数字化转型网(www.szhzxw.cn)转载而成,来源于网络;编辑/翻译:数字化转型网默然。

数字化转型网www.szhzxw.cn读者群
数字化转型网www.szhzxw.cn读者群

免责声明: 本网站(https://www.szhzxw.cn/)内容主要来自原创、合作媒体供稿和第三方投稿,凡在本网站出现的信息,均仅供参考。本网站将尽力确保所提供信息的准确性及可靠性,但不保证有关资料的准确性及可靠性,读者在使用前请进一步核实,并对任何自主决定的行为负责。本网站对有关资料所引致的错误、不确或遗漏,概不负任何法律责任。
本网站刊载的所有内容(包括但不仅限文字、图片、LOGO、音频、视频、软件、程序等) 版权归原作者所有。任何单位或个人认为本网站中的内容可能涉嫌侵犯其知识产权或存在不实内容时,请及时通知本站,予以删除。

CXOU AI 未来大会 · 报名通道限时开启
💬 评论
🔗 本文链接

💬 评论 (0)

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

📰 你可能也喜欢

2026年制造业智能体自动化平台服务商实力与用户口碑深度解析——数智化转型网 资讯

2026年制造业智能体自动化平台服务商实力与用户口碑深度解析

2026年,随着制造业数智化转型进入深水区,智能体自动化平台成为企业破解效率瓶颈、实现降本增效的核心抓手。在此 […]
📅 09-04 · 👁 2026年9月4日
2026年适用于制造业的智能体自动化平台有哪些?靠谱服务商推荐——数智化转型网 资讯

2026年适用于制造业的智能体自动化平台有哪些?靠谱服务商推荐

上海艺赛旗软件股份有限公司,简称艺赛旗软件,是一家专注于智能体自动化软件研发的高新技术企业,为制造业提供从流程 […]
📅 09-04 · 👁 2026年9月4日
2026年制造业智能体自动化平台服务商推荐|技术可靠值得信赖——数智化转型网 资讯

2026年制造业智能体自动化平台服务商推荐|技术可靠值得信赖

当2026年的制造业智能化转型步入深水区,无数车间的机器轰鸣里,正交织着数智变革的急切呼声——从订单接收的繁琐 […]
📅 09-04 · 👁 2026年9月4日
2026年适用于制造业的智能体自动化平台服务选哪家好?发展现状与市场占有率研究分析报告——数智化转型网 资讯

2026年适用于制造业的智能体自动化平台服务选哪家好?发展现状与市场占有率研究分析报告

在制造业数字化转型的浪潮中,智能体自动化平台正成为打通业务流程、解决效率痛点的核心支撑。从订单接收的多渠道汇总 […]
📅 09-04 · 👁 2026年9月4日
供应链单据处理自动化找哪家RPA智能体公司——数智化转型网 资讯

供应链单据处理自动化找哪家RPA智能体公司

供应链单据处理自动化的重要性 在当今数字化时代,供应链管理的效率对于企业的成功至关重要。而供应链单据处理作为其 […]
📅 09-04 · 👁 2026年9月4日
适配制造业的智能体自动化平台哪家性价比高,行业观察与实务选择参考——数智化转型网 资讯

适配制造业的智能体自动化平台哪家性价比高,行业观察与实务选择参考

在制造业加速数字化转型的当下,智能体自动化平台已成为企业提升效率、降低成本的关键工具。但哪家平台的性价比更高, […]
📅 09-04 · 👁 2026年9月4日