Typesafe Abstractions for Tensor Operations

18 Oct 2017  ·  Chen Tongfei ·

We propose a typesafe abstraction to tensors (i.e. multidimensional arrays) exploiting the type-level programming capabilities of Scala through heterogeneous lists (HList), and showcase typesafe abstractions of common tensor operations and various neural layers such as convolution or recurrent neural networks. This abstraction could lay the foundation of future typesafe deep learning frameworks that runs on Scala/JVM.

PDF Abstract

Categories


Programming Languages

Datasets


  Add Datasets introduced or used in this paper