当前位置:网站首页>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)
边栏推荐
- 如何进入互联网行业,成为产品经理?没有项目经验如何转行当上产品经理?
- Fix the problem that the AI video intelligent platform easycvr device video cannot be played
- ctfhub-端口扫描(SSRF)
- 用手机在指南针上开户靠谱吗?这样有没有什么安全隐患
- 【计网】(一) 集线器、网桥、交换机、路由器等概念
- ctfshow-web351(SSRF)
- 5G Massive MIMO的概念和优点总结
- 1286_FreeRTOS的任务优先级设置实现分析
- 图解事件坐标screenX、clientX、pageX, offsetX的区别
- Docker installation and deployment redis
猜你喜欢

【计网】(一) 集线器、网桥、交换机、路由器等概念

TDB中多个model情况下使用fuseki查询

Unity2021-Scene视图中物体无法直接选中的解决办法

Challenges faced by operation and maintenance? Intelligent operation and maintenance management system to help you

Product learning (I) - structure diagram

Methods of downloading Foreign Periodicals

发现了一个 MySQL 的巨坑:update 更新别再用影响行数做判断了!!!
![[lingo] solve quadratic programming](/img/4d/3f7de69943f29a71c4039299c547f7.png)
[lingo] solve quadratic programming

运维面临挑战?智能运维管理系统来帮您

Is it suitable for girls to study product manager? What are the advantages?
随机推荐
TDB中多个model情况下使用fuseki查询
SQL language learning record I
Jena基于OWL的默认推理查询
【MATLAB】求解非线性规划
Challenges faced by operation and maintenance? Intelligent operation and maintenance management system to help you
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
电脑有网络,但所有浏览器网页都打不开,是怎么回事?
[image processing] image histogram equalization system with GUI interface
The game is real! China software cup releases a new industrial innovation competition, and schools and enterprises can participate in it jointly
记一次线上接口慢查询问题排查
C language implementation [minesweeping game] full version (implementation source code)
Summary of the concept and advantages of 5g massive MIMO
Esp32 monitors the battery voltage with ULP when the battery is powered
Router 6/ 以及和Router5 的区别
Rclone configuring Minio and basic operations
How to use Alibaba vector font files through CDN
Which securities company is better or safer for mobile phone account opening
Router 6/ and the difference with router5
How to choose a product manager course when changing to a product manager?
【LINGO】求无向图的最短路问题