Grenade is a composable, dependently typed, practical, and fast recurrent neural network library for concise and precise specifications of complex networks in Haskell. Because the types are so rich, there's no specific term level code required to construct this network; although it is of course possible and easy to construct and deconstruct the networks and layers explicitly oneself. Networks in Grenade can be thought of as a heterogeneous list of layers, where their type includes not only the layers of the network but also the shapes of data that are passed between the layers. To perform back propagation, one can call the eponymous function which takes a network, appropriate input, and target data, and returns the back propagated gradients for the network. The shapes of the gradients are appropriate for each layer and may be trivial for layers like Relu which have no learnable parameters.

Features

  • Generative adversarial networks
  • Layer Zoo
  • Grenade is most easily built with the mafia script
  • Grenade is backed by hmatrix, BLAS, and LAPACK, with critical functions optimised in C
  • Being purely functional, it should also be easy to run batches in parallel
  • Networks in Grenade can be thought of as a heterogeneous lists of layers

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Grenade

Grenade Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Grenade!

Additional Project Details

Programming Language

C

Related Categories

C Machine Learning Software, C Neural Network Libraries, C Generative Adversarial Networks (GAN), C Deep Learning Frameworks, C Generative AI

Registered

2022-08-16