当前位置:网站首页>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)
边栏推荐
- 关于图灵测试和中文屋Chinese room的理解
- Rclone Chinese document: a collection of common commands
- SQL learning notes 2
- Understand esp32 sleep mode and its power consumption
- 转行做产品经理,如何挑选产品经理课程?
- 在券商账户上买基金安全吗
- 开源了!文心大模型ERNIE-Tiny轻量化技术,又准又快,效果全开
- Système de gestion de l'exploitation et de l'entretien, expérience d'exploitation humanisée
- Which securities company is better or safer for mobile phone account opening
- Solve the problem that the class defined in meta-inf.services cannot be read
猜你喜欢

女生适合学产品经理吗?有什么优势?

DC-4 target

EasyNVS云管理平台功能重构:支持新增用户、修改信息等
![C language implementation [Sanzi chess game] (step analysis and implementation source code)](/img/3b/d32b46292ed20f31a6e1db97349df1.png)
C language implementation [Sanzi chess game] (step analysis and implementation source code)

Product learning (II) - competitive product analysis

Product learning (III) - demand list
![[FPGA frame difference] FPGA implementation of frame difference target tracking based on vmodcam camera](/img/0f/045957961725716435439316078347.png)
[FPGA frame difference] FPGA implementation of frame difference target tracking based on vmodcam camera

如何画产品架构图?
![[Electrical dielectric number] electrical dielectric number and calculation considering HVDC and facts components](/img/7c/2b1d4797f367cced51f36e8a1bb199.png)
[Electrical dielectric number] electrical dielectric number and calculation considering HVDC and facts components

How the esp32 deep sleep current is lower than 10uA
随机推荐
灰度何以跌下神坛?
LeetCode+ 71 - 75
Principle of introducing modules into node
Using fuseki query when there are multiple models in TDB
Solve the problem of "unexpected status code 503 service unavailable" when kaniko pushes the image to harbor
【计网】(一) 集线器、网桥、交换机、路由器等概念
Is fixed investment fund a high-risk product?
北漂程序员深夜emo发帖求助:女朋友走了我很孤独 ......
Pourquoi tant de gens sont - ils devenus des gestionnaires de produits? Quelles sont les perspectives de développement des gestionnaires de produits?
【LINGO】求无向图的最短路问题
解决kaniko push镜像到harbor时报错(代理导致):unexpected status code 503 Service Unavailable
电脑有网络,但所有浏览器网页都打不开,是怎么回事?
Understand esp32 sleep mode and its power consumption
go-etcd
Jena default inference query based on OWL
kdtree(kd树)笔记
(I) apple has open source, but so what?
Rclone configuring Minio and basic operations
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
[Tikhonov] image super-resolution reconstruction based on Tikhonov regularization