GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - borgwang/tinynn: A lightweight deep learning library

BranchesTags
Open more actions menu

Latest commit

 

History

363 Commits
363 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
tests
tests
 
 
tinynn
tinynn
 
 
.codecov.yml
.codecov.yml
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pytest.ini
pytest.ini
 
 
setup.py
setup.py
 
 

Repository files navigation

tinynn

CI Language grade: Python codecov

tinynn is a lightweight deep learning framework written in Python3 (for learning purposes).

Getting Started

Install

pip3 install tinynn

Run examples

git clone https://github.com/borgwang/tinynn.git
cd tinynn/examples

# MNIST classification
python3 mnist/run.py

# a toy regression task
python3 nn_paint/run.py

# reinforcement learning demo (gym environment required)
python3 rl/run.py

Intuitive APIs

# define a model
net = Net([Dense(50), ReLU(), Dense(100), ReLU(), Dense(10)])
model = Model(net=net, loss=MSE(), optimizer=Adam(lr))

# train
for batch in iterator(train_x, train_y):
    preds = model.forward(batch.inputs)
    loss, grads = model.backward(preds, batch.targets)
    model.apply_grads(grads)

Contribute

Please follow the Google Python Style Guide for Python coding style.

License

MIT

About

A lightweight deep learning library

Topics

deep-learning-frameworkdeep-learning-libraryproject-based-learning

Resources

Readme
MIT license
Activity

Stars

393 stars

Watchers

7 watching

Forks

92 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.