Elixir和Python之间的神经网络训练性能比较
Comparing neural network training performance between Elixir and Python
摘要:
由于有大量专注于机器学习市场的库,如TensorFlow、NumPy、Pandas、Keras等,Python已经成为主要的程序设计语言之一。2021年2月,José Valim和Sean Moriarity发布了Numerical Elixir(Nx)库的第一个版本,这是一个用Elixir编写的张量运算库。Nx的目标是使该语言成为GPU密集型操作的良好选择。这项工作的目的是比较Python和Elixir在使用MNIST和CIFAR-10数据集训练卷积神经网络(CNN)方面的结果,得出的结论是Python取得了总体上更好的结果,Elixir已经是一个可行的替代方案。
英文摘要:
With a wide range of libraries focused on the machine learning market, such as TensorFlow, NumPy, Pandas, Keras, and others, Python has made a name for itself as one of the main programming languages. In February 2021, José Valim and Sean Moriarity published the first version of the Numerical Elixir (Nx) library, a library for tensor operations written in Elixir. Nx aims to allow the language be a good choice for GPU-intensive operations. This work aims to compare the results of Python and Elixir on training convolutional neural networks (CNN) using MNIST and CIFAR-10 datasets, concluding that Python achieved overall better results, and that Elixir is already a viable alternative.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。