Ignite AI 🔥
A tiny deep learning library built from scratch in Python.
Ignite is a lightweight neural network library focused on learning how AI works internally.
Features
- ✅ Tensor system
- ✅ Automatic differentiation
- ✅ Basic tensor operations
- ✅ Neural network layers
- ✅ SGD optimizer
- ✅ Pure Python
Installation
pip install ignite-ai
Example
import ignite
x = ignite.Tensor([2, 3])
y = ignite.Tensor([4, 5])
z = x * y
z.backward()
print(z)
Neural Networks
import ignite
layer = ignite.nn.Linear(2, 3)
x = ignite.Tensor([1, 2])
output = layer(x)
print(output)
Optimizer
import ignite
parameter = ignite.Parameter([1.0, 2.0])
optimizer = ignite.SGD(
[parameter],
lr=0.01
)
optimizer.zeroGrad()
optimizer.step()
Project Structure
ignite/
├── __init__.py
├── tensor.py # Tensor, Parameter, autograd
├── nn.py # Neural network layers
└── optim.py # Optimizers
Why Ignite?
Large AI frameworks are powerful but can be difficult to understand.
Ignite is designed to be small, simple, and educational.
License
MIT License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ignite_ai-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ignite_ai-0.1.0.tar.gz.
File metadata
- Download URL: ignite_ai-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d095f516884002f7b1ea9bdaab2208eceeecd2798c25f7cbd52bbb794894efd
|
|
| MD5 |
16ea019bf4f5080d9fe5f3c1f5507435
|
|
| BLAKE2b-256 |
cd2ddd574edad5f5f8f53e3ac3b27af16068a9683182300d9de7b650a0a4416e
|
File details
Details for the file ignite_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ignite_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d65017c3e396b3c5849588d48a0a231689adc62d55e97e5979d888409ecd915b
|
|
| MD5 |
8449d68f5441fa3ce3d9c14c7bc6bec1
|
|
| BLAKE2b-256 |
e8b6e461ab36397fe480cae74c907b49df0cc2725ef7ba043e7839520f13e354
|