https://github.com/lyuwenyu/pdll
Python Deep Learning Library, including autograd, nn modules, optimizers, io, etc.
https://github.com/lyuwenyu/pdll
autograd deep-learning optim
Last synced: 24 days ago
JSON representation
Python Deep Learning Library, including autograd, nn modules, optimizers, io, etc.
- Host: GitHub
- URL: https://github.com/lyuwenyu/pdll
- Owner: lyuwenyu
- License: gpl-3.0
- Created: 2021-02-02T04:21:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-06T03:53:50.000Z (almost 4 years ago)
- Last Synced: 2025-02-17T06:30:21.942Z (4 months ago)
- Topics: autograd, deep-learning, optim
- Language: Python
- Homepage:
- Size: 197 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDLL😊
PDLL's mission is to build a backend-agnostic python deep learning framework for education, pluging and playing for different numpy-like computing engines.
It includes autograd, nn, optimizer, io, .etc.
## Getting Started
```python
In [1]: import pdll as LIn [2]: a = L.rand(2, 2, 3, requires_grad=True)
In [3]: b = L.rand(3, 3)
In [4]: c = a @ b + L.rand(2, 3)
In [5]: d = (c ** 2) * 2 - L.ones_like(c)
In [6]: d.mean().backward()In [7]: a.grad
Out[7]:
Tensor([[[0.71458999 0.87984239 0.73015823]
[0.76491385 1.04176047 0.89780678]]
[[1.07044392 1.33654949 1.12387667]
[0.74022419 1.01408228 0.86196845]]])```
- [More Examples](./examples/)
- [Completed Functions](./docs/todolist.md)Name | Performance | Commits
---|---|---
[mnist](./examples/mnist.py) | acc=0.99 | an exmaple modified from pytorch [mnist](https://github.com/pytorch/examples/tree/master/mnist), but with new network achitecture.## About PDLL
PDLL is a python deep learning library. To see details in [achitecture](./docs/achitecture.md) and [todo-list](./docs/todolist.md).
Module | Description
---|---
[pdll.backend]() | a numpy-like library, types ans operations
[pdll.autograd]() | an automatic differentiation library, that can record operations on **Tensor** type
[pdll.nn]() | a neural network library based on autograd
[pdll.optim]() | an optimizer algorithm library for deep learning
[pdll.io]() | dataset, dataloader and serialization*To get complete source code of PDLL, please contact me.*
*To learn more about contributing to PDLL, please contact me.*## About Me
- [Email]()
- [LinkedIn](https://www.linkedin.com/in/lyuwenyu/)## Citation
- pdll## Reference
- caffe
- pytorch