arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.06714cs.LGstat.ML
收藏

用于神经网络和深度学习的并行Fortran框架

A parallel Fortran framework for neural networks and deep learning

University of Miami(迈阿密大学)

Milan Curcic

摘要:

本文描述了neural-fortran,一个用于神经网络和深度学习的并行Fortran框架。它具有一个简单的界面,以构建任意结构和大小的前馈神经网络,几个激活函数,和随机梯度下降作为默认的优化算法。Neural-Fortran还利用Fortran 2018标准集合子例程在共享或分布式内存机器上实现基于数据的并行性。首先,我描述了神经网络的实现与Fortran派生类型,全数组运算,集体和广播操作,以实现并行性。其次,我演示了使用神经Fortran的例子中识别手写数字图像。最后,我评估了串行和并行模式下的计算性能。易用性和计算性能与现有流行的机器学习框架相似,使neural-fortran成为进一步开发和生产中使用的可行候选者。

英文摘要:

This paper describes neural-fortran, a parallel Fortran framework for neural networks and deep learning. It features a simple interface to construct feed-forward neural networks of arbitrary structure and size, several activation functions, and stochastic gradient descent as the default optimization algorithm. Neural-fortran also leverages the Fortran 2018 standard collective subroutines to achieve data-based parallelism on shared- or distributed-memory machines. First, I describe the implementation of neural networks with Fortran derived types, whole-array arithmetic, and collective sum and broadcast operations to achieve parallelism. Second, I demonstrate the use of neural-fortran in an example of recognizing hand-written digits from images. Finally, I evaluate the computational performance in both serial and parallel modes. Ease of use and computational performance are similar to an existing popular machine learning framework, making neural-fortran a viable candidate for further development and use in production.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑