Skip to main content

A modern educational deep learning framework for students, engineers and researchers

Project description

TensorWeaver

TensorWeaver Logo

A modern educational deep learning framework for students, engineers and researchers

FeaturesInstallationExamplesDocumentationLicenseAcknowledgments

Introduction

TensorWeaver is a deep learning framework designed specifically for students, engineers and researchers who want to understand how deep learning frameworks work under the hood. Unlike industrial frameworks like PyTorch and TensorFlow that prioritize performance and scalability, TensorWeaver focuses on clarity, readability, and simplicity.

Built entirely in Python with only NumPy as a dependency, TensorWeaver's codebase is transparent and approachable, making it an ideal learning resource for those who want to demystify the "magic" behind modern AI frameworks.

The target users are students, engineers and researchers who want to fully understand the working principles of deep learning frameworks and gain the skills to debug, extend and optimize their own projects with any deep learning framework.

Features

  • Purely Educational: Designed from the ground up as a learning tool with clear, well-documented code
  • PyTorch-like API: Familiar interface reduces learning curve and eases transition to industrial frameworks
  • Lightweight and Readable: Built with pure Python and minimal dependencies (merely NumPy)
  • Fully Functional: Supports essential deep learning components:
    • Automatic differentiation engine
    • Common neural network operators
    • Loss functions and optimizers
    • Model definition and training
  • Advanced Capabilities:
    • ONNX export functionality
  • Comprehensive Documentation: Detailed explanations of implementation details and design choices

Online demo

Click here to launch the online demo

Installation

# Install from PyPI
pip install tensorweaver

# Or install from source
git clone https://github.com/howl-anderson/tensorweaver.git
cd tensorweaver
poetry install

see poetry for more details if you don't have poetry installed.

Examples

See milestones for examples.

Documentation

see https://www.tensorweaver.ai

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • The project draws inspiration from educational frameworks like Micrograd, TinyFlow, and DeZero
  • Special thanks to the open-source deep learning community for their pioneering work
  • Thanks to all contributors and users who help improve this educational resource

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

tensorweaver-0.0.2.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tensorweaver-0.0.2-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file tensorweaver-0.0.2.tar.gz.

File metadata

  • Download URL: tensorweaver-0.0.2.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Darwin/24.4.0

File hashes

Hashes for tensorweaver-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d96796ef0f47f83939af8687fef54a98117a23dfbc44e012850b9b1bf2c0599f
MD5 dcda7b754a10a89d7dad4ccb2a0bfa34
BLAKE2b-256 ae76d10cc9a287e5b26b76eb58fe8a72a84a6dba401a14c6ec7b0fce79c399f3

See more details on using hashes here.

File details

Details for the file tensorweaver-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tensorweaver-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 52.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Darwin/24.4.0

File hashes

Hashes for tensorweaver-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58a69d435b0fb3ffdda1dbb1bc1c95142f32948269030a4451ba0c74cdb41508
MD5 974599b03caaaaa2b2f39d437bf9d19d
BLAKE2b-256 4d07f1ff6074725e59511d0c6ab3a55f5ba4126a1bc4982886d09636595e6999

See more details on using hashes here.

Supported by

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