A tiny, pedagogical neural network library with a pytorch-like API.
Project description
candle
A tiny, pedagogical implementation of a neural network library with a pytorch-like API. The primary use of this library is for education. Use the actual pytorch for more serious deep learning business.
learning
This little project is actually the result of an article I wrote. Using it, you can learn more about how neural networks work and also implement everything in candle yourself from scratch.
features
- Tensors built upon numpy's ndarrays
- Tensor-valued autograd
- Mean Squared Error Loss Function
- Stochastic Gradient Descent (SGD)
- Blocks (Modules) for putting together neural networks
- Built-in layers:
- Linear
- ReLU Activation Layer
- Sigmoid Activation Layer
- Tanh Activation Layer
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
candl-0.0.1.tar.gz
(1.8 kB
view hashes)
Built Distribution
candl-0.0.1-py3-none-any.whl
(2.4 kB
view hashes)