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

Other Useful Business Software
Application Monitoring That Won't Slow Your App Down Icon
Application Monitoring That Won't Slow Your App Down

AppSignal's Rust-based agent is lightweight and stable. Already running in thousands of production apps.

Full APM with errors, performance, logs, and uptime monitoring. 99.999% uptime SLA on the platform itself.
Start Free
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