Code Monkey home page Code Monkey logo

minimalgrad's Introduction

MinimalGrad

MinimalGrad is an open-source automatic differentiation library for deep learning that is designed to be lightweight and efficient, with a focus on simplicity and ease of use. It was developed by a team of students at Eötvös Loránd University as part of Advanced software technology class.

Features

MinimalGrad implements reverse-mode automatic differentiation, which allows it to efficiently compute gradients of arbitrary computational graphs. It supports a variety of numerical data types and mathematical operations, and can be easily integrated into existing deep learning models.

Some of the key features of MinimalGrad include:

  • Simple and easy-to-use API
  • Lightweight and efficient implementation
  • Support for a variety of numerical data types
  • Support for a variety of mathematical operations
  • Integration with existing deep learning models

Installation

To install MinimalGrad, simply run the following command: Not working yet

pip install minimalgrad 

Usage

To use MinimalGrad, simply import the library and create a computation graph using the available operations. Here's a simple example:

from MinimalGrad.core import Tensor

# Define variables
x = Tensor([2, 3])
y = Tensor([5, 7])

# Define computation graph
z = x + y
w = z * z

# Compute gradients
w.backward()

# Print gradients
print(x.grad)  # [14, 20]
print(y.grad)  # [14, 20]

minimalgrad's People

Contributors

zaksalmi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.