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
Go from Data Warehouse to Data and AI platform with BigQuery Icon
Go from Data Warehouse to Data and AI platform with BigQuery

Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
Try BigQuery 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