当前位置:网站首页>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)
边栏推荐
- C语言实现【扫雷游戏】完整版(实现源码)
- Programming examples of stm32f1 and stm32subeide infrared receiving and decoding of NEC protocol
- Product learning (II) - competitive product analysis
- Esp32 monitors the battery voltage with ULP when the battery is powered
- Esp32 - ULP coprocessor reading Hall sensor in low power mode
- 1286_ Implementation analysis of task priority setting in FreeRTOS
- How to use SCI hub
- 代码实战——从零开始搭建自己的Diffusion models/Score-based generative models
- 了解ESP32睡眠模式及其功耗
- Problem: officeexception: failed to start and connect (II)
猜你喜欢

How to permanently configure local opencv4.5.5 for vs2019
![[lingo] solve quadratic programming](/img/4d/3f7de69943f29a71c4039299c547f7.png)
[lingo] solve quadratic programming

Esp32 esp-idf GPIO key interrupt response

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

解决kaniko push镜像到harbor时报错(代理导致):unexpected status code 503 Service Unavailable

如何通过cdn方式使用阿里巴巴矢量图字体文件

关于图灵测试和中文屋Chinese room的理解

DC-4靶机

【电气介数】电气介数及考虑HVDC和FACTS元件的电气介数计算

为什么这么多人转行产品经理?产品经理发展前景如何?
随机推荐
[FPGA frame difference] FPGA implementation of frame difference target tracking based on vmodcam camera
自动化测试平台(十三):接口自动化框架与平台对比及应用场景分析及设计思路分享
8 张图 | 剖析 Eureka 的首次同步注册表
Reply and explanation on issues related to "online training of network security education in 2022"
【计网】(一) 集线器、网桥、交换机、路由器等概念
Jena default inference query based on OWL
【电气介数】电气介数及考虑HVDC和FACTS元件的电气介数计算
图解事件坐标screenX、clientX、pageX, offsetX的区别
Is it reliable to open an account on the compass with your mobile phone? Is there any potential safety hazard
How to draw a product architecture diagram?
Automated test platform (13): interface automation framework and platform comparison, application scenario analysis and design ideas sharing
【深圳IO】精确食品称(汇编语言的一些理解)
盘点华为云GaussDB(for Redis)六大秒级能力
C语言实现【三子棋游戏】(步骤分析和实现源码)
Insufficient free space after clearing expired cache entries - consider increasing the maximum cache space
運維管理系統,人性化操作體驗
Chinese explanation of common rclone subcommands
Is it safe to buy funds on Alipay? Where can I buy funds
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
未来互联网人才还稀缺吗?哪些技术方向热门?