Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xl0/tidygrad

A tidy library for gradient-based optimization
https://github.com/xl0/tidygrad

Last synced: 17 days ago
JSON representation

A tidy library for gradient-based optimization

Awesome Lists containing this project

README

        

TidyGrad
================

# TidyGrad \| [Documentation](https://xl0.github.io/tidygrad/) \| [Discord](https://discord.gg/qBaqauUWXP)

A tidy library for gradient-based optimization

![Tests](https://github.com/xl0/tidygrad/actions/workflows/test.yaml/badge.svg)

## Install

``` sh
pip install -e tidygrad
```

## Dev

``` sh
pip install -e .[dev] # Local install with dev dependencies
```

- Hack
- Hack
- Hack
- (edit and run the notebooks in the `./nbs` directory).

``` sh
nbdev_prepare
```

`nbdev_prepare` will:

- Export all norebooks into the `./tidygrad` directory.
- Note: the notebooks themselves have an export cell, so they are
exported every time you run them.
- Run all notebooks (equivalent of testing)
- Generate REDME.md from the index.ipynb
- Generate the docs

## How to use

``` python
# Later
```