在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:EnzymeAD/Enzyme.jl开源软件地址:https://github.com/EnzymeAD/Enzyme.jl开源编程语言:Julia 100.0%开源软件介绍:The Enzyme High-Performance Automatic Differentiator of LLVMThis is a package containing the Julia bindings for Enzyme. This is very much a work in progress and bug reports/discussion is greatly appreciated! Enzyme is a plugin that performs automatic differentiation (AD) of statically analyzable LLVM. It is highly-efficient and its ability perform AD on optimized code allows Enzyme to meet or exceed the performance of state-of-the-art AD tools. Enzyme.jl can be installed in the usual way Julia packages are installed
Enzyme.jl can be used by calling using Enzyme, Test
f1(x) = x*x
# Returns a tuple of active returns, which in this case is simply (2.0,)
@test first(autodiff(Reverse, f1, Active(1.0))) ≈ 2.0 For details, see the package documentation. More information on installing and using Enzyme directly (not through Julia) can be found on our website: https://enzyme.mit.edu. To get involved or if you have questions, please join our mailing list. If using this code in an academic setting, please cite the following two papers (first for Enzyme as a whole, then for GPU+optimizations):
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论