【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.Attention, tf.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.

💬 评论
🔗 本文链接

💬 评论 (0)

发表回复

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

以专业为基,引领科技向善向新

Rooted in professionalism, we lead technology toward social good and innovation.

数智化转型网 · 了解更多产业资讯与选型数据 →

📰 你可能也喜欢

a35_01.png 行业资讯

家用智能灭蚊激光炮来了,每秒击落30架蚊子

夏日最让人抓狂的,莫过于蚊虫萦绕的嗡嗡声。为了摆脱蚊虫困扰,人类陆续研发出蚊香、电蚊拍等传统工具,负压吸蚊、仿生呼吸诱捕等新潮黑科技也层出不穷。而如今,一场灭蚊…
📅 12-01 · 👁 2026年12月1日
舒华体育出席第六届全民健身科学大会 展示AI与体育设备融合创新成果 美通社新闻

舒华体育出席第六届全民健身科学大会 展示AI与体育设备融合创新成果

10月16日-18日,以"数字赋能全民健身高质量发展"为主题的第六届全民健身科学大会在北京召开。
📅 10-23 · 👁 2026年10月23日
欧摩威第三代卫星摄像头斩获中国市场首个量产项目,计划2027年底量产 美通社新闻

欧摩威第三代卫星摄像头斩获中国市场首个量产项目,计划2027年底量产

全工况可用:依托摄像头集成加热与最新图像传感器技术,让智能驾驶系统在极寒与低照明等恶劣环境下保持可用;平台化方案:环视与长距卫星摄像头支持从130万至800万像…
📅 10-23 · 👁 2026年10月23日
百世快运拓展跨境货物国内运输业务 全国网络迎来新增长 美通社新闻

百世快运拓展跨境货物国内运输业务 全国网络迎来新增长

海关总署数据显示,2026年前三季度,我国货物贸易出口23.2万亿元,同比增长16.4%;
📅 10-23 · 👁 2026年10月23日
因美纳扩展BioInsight Platform软件产品组合,加速从测序到科学发现的进程 美通社新闻

因美纳扩展BioInsight Platform软件产品组合,加速从测序到科学发现的进程

因美纳扩展BioInsight Platform软件产品组合,加速从测序到科学发现的进程
📅 10-23 · 👁 2026年10月23日
江波龙基于全志科技高性能AI平台型芯片完成HLCache™技术联合调优,拓宽端侧AI应用场景 美通社新闻

江波龙基于全志科技高性能AI平台型芯片完成HLCache™技术联合调优,拓宽端侧AI应用场景

近日,江波龙与全志科技围绕IoT、平板电脑等终端领域的存储技术开展合作。双方基于全志科技A系列高性能AI平台型芯片,完成了搭载HLCache™(High
📅 10-23 · 👁 2026年10月23日