DiffSharp: An AD Library for .NET Languages

11/10/2016
by   Atilim Gunes Baydin, et al.
0

DiffSharp is an algorithmic differentiation or automatic differentiation (AD) library for the .NET ecosystem, which is targeted by the C# and F# languages, among others. The library has been designed with machine learning applications in mind, allowing very succinct implementations of models and optimization routines. DiffSharp is implemented in F# and exposes forward and reverse AD operators as general nestable higher-order functions, usable by any .NET language. It provides high-performance linear algebra primitives---scalars, vectors, and matrices, with a generalization to tensors underway---that are fully supported by all the AD operators, and which use a BLAS/LAPACK backend via the highly optimized OpenBLAS library. DiffSharp currently uses operator overloading, but we are developing a transformation-based version of the library using F#'s "code quotation" metaprogramming facility. Work on a CUDA-based GPU backend is also underway.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/24/2015

DiffSharp: Automatic Differentiation Library

In this paper we introduce DiffSharp, an automatic differentiation (AD) ...
research
11/22/2020

Differentiable Computational Geometry for 2D and 3D machine learning

With the growth of machine learning algorithms with geometry primitives,...
research
11/28/2019

Eigen-AD: Algorithmic Differentiation of the Eigen Library

In this work we present useful techniques and possible enhancements when...
research
07/08/2021

Daany – DAta ANalYtics on .NET

Daany is .NET and cross platform data analytics and linear algebra libra...
research
04/05/2021

AuTO: A Framework for Automatic differentiation in Topology Optimization

A critical step in topology optimization (TO) is finding sensitivities. ...
research
11/10/2016

Tricks from Deep Learning

The deep learning community has devised a diverse set of methods to make...
research
10/24/2017

Auto-Differentiating Linear Algebra

Development systems for deep learning, such as Theano, Torch, TensorFlow...

Please sign up or login with your details

Forgot password? Click here to reset