r-chong/TSTorch

A PyTorch-style runtime library in TypeScript + WebGPU. Built to understand how ML frameworks and models work internally.

38
/ 100
Emerging

This is a machine learning library built from scratch in TypeScript, designed for those who want to understand the inner workings of ML frameworks. You can input data like numbers or arrays and define neural network structures using layers and activation functions. The output includes trained models capable of making predictions and insights into how automatic differentiation and tensor operations function. This tool is ideal for developers interested in learning about machine learning framework internals or building custom ML components in TypeScript.

Use this if you are a developer seeking to learn how machine learning frameworks like PyTorch work by implementing core components like autograd, tensors, and neural network layers from scratch in TypeScript.

Not ideal if you are looking for a high-performance, production-ready machine learning framework for large-scale applications or if you prefer a 'black-box' approach to ML development.

machine-learning-frameworks deep-learning-development ml-engineering typescript-development computational-graph
No Package No Dependents
Maintenance 10 / 25
Adoption 7 / 25
Maturity 13 / 25
Community 8 / 25

How are scores calculated?

Stars

39

Forks

3

Language

TypeScript

License

MIT

Last pushed

Mar 12, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/r-chong/TSTorch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.