Skip to main content

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)

Uploaded Source

Built Distribution

candl-0.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page