# pair-code/deeplearnjs

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/pair-code-deeplearnjs).**

8,435 stars · 930 forks · TypeScript · Apache-2.0 · archived

## Links

- GitHub: https://github.com/PAIR-code/deeplearnjs
- Homepage: https://js.tensorflow.org
- awesome-repositories: https://awesome-repositories.com/repository/pair-code-deeplearnjs.md

## Description

Deeplearnjs is a JavaScript deep learning framework and automatic differentiation engine designed for building and training artificial intelligence models within a web browser environment. It functions as a machine learning library that leverages WebGL to provide hardware acceleration for neural networks.

The project serves as a high-performance linear algebra library, using the GPU to execute operations on multi-dimensional arrays. This enables the implementation of deep learning models and the execution of client-side machine learning inference.

The framework covers the complete automatic differentiation workflow, allowing for the calculation of mathematical gradients to optimize model weights. It provides the necessary tools for performing complex linear algebra and managing the training of neural networks using WebGL.

## Tags

### Artificial Intelligence & ML

- [Automatic Differentiation Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/automatic-differentiation-engines.md) — Functions as a mathematical engine that computes gradients by traversing computational graphs for model training.
- [Computational Graph Tracking](https://awesome-repositories.com/f/artificial-intelligence-ml/computational-graph-tracking.md) — Records a sequence of mathematical transformations in a graph to facilitate automatic gradient calculation.
- [Browser-Based Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/deep-learning-frameworks/browser-based-frameworks.md) — Provides a complete set of tools for building and training AI models directly in the web browser.
- [JavaScript Machine Learning Libraries](https://awesome-repositories.com/f/artificial-intelligence-ml/javascript-machine-learning-libraries.md) — Provides a JavaScript library for implementing neural networks and deep learning models with WebGL acceleration.
- [Automatic Differentiation Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/frameworks/model-construction/automatic-differentiation-systems.md) — Provides a system for computing gradients of mathematical functions to enable neural network training. ([source](https://github.com/pair-code/deeplearnjs#readme))
- [GPU Tensor Mapping](https://awesome-repositories.com/f/artificial-intelligence-ml/gpu-tensor-mapping.md) — Implements tensor storage directly in graphics memory to minimize CPU-to-GPU data transfer overhead.
- [On-Device Inference](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-clients/on-device-inference.md) — Enables the execution of pre-trained machine learning models directly on the user's device.

### Graphics & Multimedia

- [Tensor Operations](https://awesome-repositories.com/f/graphics-multimedia/gpu-accelerated-shaders/tensor-operations.md) — Implements linear algebra and tensor operations within GPU shader programs for parallel processing.

### Scientific & Mathematical Computing

- [GPU Linear Algebra Libraries](https://awesome-repositories.com/f/scientific-mathematical-computing/gpu-linear-algebra-libraries.md) — Implements high-performance linear algebra operations specifically optimized for GPU hardware via WebGL.
- [Linear Algebra Routines](https://awesome-repositories.com/f/scientific-mathematical-computing/linear-algebra-routines.md) — Executes fundamental linear algebra operations on multi-dimensional arrays using hardware acceleration. ([source](https://github.com/pair-code/deeplearnjs#readme))
- [JavaScript Linear Algebra Libraries](https://awesome-repositories.com/f/scientific-mathematical-computing/javascript-linear-algebra-libraries.md) — Provides a high-performance toolkit for complex mathematical operations on multi-dimensional arrays within JavaScript.

### Web Development

- [Hardware-Accelerated WebGL Execution](https://awesome-repositories.com/f/web-development/performance-optimizations/hardware-accelerated-webgl-execution.md) — Leverages WebGL to offload intensive tensor computations to the GPU for browser-based machine learning.

### Part of an Awesome List

- [Deep Learning Frameworks](https://awesome-repositories.com/f/awesome-lists/ai/deep-learning-frameworks.md) — Hardware-accelerated machine learning library for the web.
- [Neural Networks](https://awesome-repositories.com/f/awesome-lists/ai/neural-networks.md) — Hardware-accelerated machine intelligence library.
