首页> 外文期刊>Computer Languages, Systems & Structures >Design and implementation of DeepDSL: A DSL for deep learning
【24h】

Design and implementation of DeepDSL: A DSL for deep learning

机译:DeepDSL的设计与实现:深度学习的DSL

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Deep Learning(DL) has found great success in well-diversified areas such as machine vision, speech recognition, and multimedia understanding. However, the state-of-the-art tools (e.g. Caffe, TensorFlow, and CNTK), are programming libraries with many dependencies and implemented in languages such as C++ that need to be compiled to a specific runtime environment and require users to install the entire tool libraries for training or inference, which limits the portability of DL applications.In this work, we introduceDeepDSL, a domain specific language (DSL) embedded in Scala, that compiles DL networks encoded with DeepDSL to efficient, compact, and portable Java source programs for DL training and inference. DeepDSL represents DL networks as abstract tensor functions, performs symbolic gradient derivations to generate Intermediate Representation (IR), optimizes the IR expressions, and translates the optimized IR expressions to Java code that runs on GPU without additional dependencies other than the necessary GPU libraries and the related invocation interfaces: a small set ofJNI(Java Native Interface) wrappers. Our experiments show DeepDSL outperforms existing tools in several benchmark programs adopted from the current mainstream Deep Neural Networks (DNNs).
机译:深度学习(DL)在机器视觉,语音识别和多媒体理解等多元化领域取得了巨大的成功。但是,最先进的工具(例如Caffe,TensorFlow和CNTK)是具有许多依赖性的编程库,并且以C ++等语言实现,需要编译为特定的运行时环境并要求用户安装该库。整个工具库,用于训练或推理,这限制了DL应用程序的可移植性。在这项工作中,我们介绍了Scala内嵌的一种领域特定语言(DSL)DeepDSL,它将使用DeepDSL编码的DL网络编译为高效,紧凑和可移植的Java源代码DL训练和推理程序。 DeepDSL将DL网络表示为抽象张量函数,执行符号梯度派生以生成中间表示(IR),优化IR表达式,并将优化的IR表达式转换为在GPU上运行的Java代码,而无需除必需的GPU库和其他依赖项之外的其他依赖项相关的调用接口:一小组JNI(Java本机接口)包装器。我们的实验表明,在当前主流的深度神经网络(DNN)采用的几个基准测试程序中,DeepDSL的性能优于现有工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号