当前位置:网站首页>JAX的深度学习和科学计算
JAX的深度学习和科学计算
2022-07-01 07:03:00 【ejinxian】
JAX 框架:能使用GPU加速的,支持自动微分的numpy。numpy在科学计算领域十分普及,但在深度学习领域。
Jax 是 Autograd 和 XLA 的结合用以提供高性能机器学习研究。作为 Autograd 的更新版本,JAX 可以自动微分原生 Python 和 Numpy 函数。可通过 loops、branches、recursion 和 closures,进行微分,并且能够对导数的导数求导。
2020 年,DeepMind 宣布使用 JAX 来加速其研究。越来越多来自谷歌大脑(Google Brain)和其他机构的项目也都在使用 JAX
JAX 是一个非常有前途的项目,并且用户一直在稳步增长。JAX 已经在深度学习、机器人 / 控制系统、贝叶斯方法和科学模拟等诸多领域得到了广泛应用
AX 的定位科学计算(Scientific Computing)和函数转换(Function Transformations)的交叉融合,具有除训练深度学习模型以外的一系列能力,包括如下:
- 即时编译(Just-in-Time Compilation)
- 自动并行化(Automatic Parallelization)
- 自动向量化(Automatic Vectorization)
- 自动微分(Automatic Differentiation)
JAX 的速度比 NumPy 快了 N 个数量级,JAX 使用的是 TPU,NumPy 使用了 CPU,以此强调 JAX 的速度上限远高于 NumPy
JAX 包含了一个可扩展系统来实现这样的函数转换,有四种典型方式:
Grad() 进行自动微分;
Vmap() 自动向量化;
Pmap() 并行化计算;
Jit() 将函数转换为即时编译版本
科学计算
深度学习
深度学习入门
参考:
Why You Should (or Shouldn't) be Using Google's JAX in 2022 (assemblyai.com)
边栏推荐
- Problem: officeexception: failed to start and connect (III)
- 【深圳IO】精确食品称(汇编语言的一些理解)
- 运维管理有什么实用的技巧吗
- How to choose a product manager course when changing to a product manager?
- Rclone access web interface
- rclone中文文档:常用命令大全
- 8 张图 | 剖析 Eureka 的首次同步注册表
- Reply and explanation on issues related to "online training of network security education in 2022"
- Fix the problem that the AI video intelligent platform easycvr device video cannot be played
- Système de gestion de l'exploitation et de l'entretien, expérience d'exploitation humanisée
猜你喜欢
随机推荐
ctfshow-web354(SSRF)
rclone常用子命令中文解释
【剑指offer&牛客101】中那些高频笔试,面试题——链表篇
运维面临挑战?智能运维管理系统来帮您
Docker 安装部署Redis
node中引入模块的原理
盘点华为云GaussDB(for Redis)六大秒级能力
8 张图 | 剖析 Eureka 的首次同步注册表
H5 web page determines whether an app is installed. If it is installed, it will jump to the summary of the scheme to download if it is not installed
ctfhub-端口扫描(SSRF)
Storage function learning notes
【LINGO】求无向图的最短路问题
ctfshow-web351(SSRF)
Introduction to spark (one article is enough)
【电气介数】电气介数及考虑HVDC和FACTS元件的电气介数计算
Reply and explanation on issues related to "online training of network security education in 2022"
Image style migration cyclegan principle
Is it safe to buy funds on Alipay? Where can I buy funds
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
How the esp32 deep sleep current is lower than 10uA