awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
tensorflow avatar

tensorflow/tfjs

0
View on GitHub↗
19,134 stars·2,025 forks·TypeScript·Apache-2.0·4 viewsjs.tensorflow.org↗

Tfjs

TensorFlow.js is a JavaScript machine learning library used for training and deploying models in web browsers and server-side environments. It functions as a browser-based model trainer, a WebAssembly inference engine, and a WebGPU accelerated tensor library for low-level linear algebra. The project also includes a model converter to transform Python-based models into optimized formats for JavaScript execution.

The library distinguishes itself through a pluggable backend architecture that allows mathematical operations to be executed via CPU, WebGL, or WebGPU. It supports the conversion of Python Keras or SavedModel formats into JSON and binary formats, and can translate JavaScript models back into Python formats.

The framework covers a broad set of capabilities including deep learning architecture construction, on-device model retraining, and data pipeline management for batching and shuffling datasets. It provides specialized implementations for real-time computer vision, keyword spotting in audio, textual similarity analysis, and time series forecasting. Performance is managed through weight quantization, sharding, and model performance profiling to record operator-level latency.

The project includes command-line utilities for model inference and a guided wizard to generate conversion commands.

Features

  • JavaScript Machine Learning Libraries - Implements a comprehensive library for training and deploying machine learning models using JavaScript in browsers and servers.
  • Web-Based Model Deployment - Runs machine learning models in web browsers and server environments using hardware-accelerated runtimes.
  • Automatic Differentiation - Provides automatic differentiation for computing gradients during neural network training.
  • Client-Side Inference - Deploys pre-trained models to user devices for local data processing, improving privacy and reducing latency.
  • Deep Learning Architectures - Provides high-level APIs for building and training complex multi-layered neural network architectures.
  • GPU-Accelerated Inference - Accelerates model inference and training using graphics processing units to increase computation speed in web and mobile contexts.
  • Pluggable Backend Architectures - Implements a pluggable architecture to swap mathematical backends between CPU, WebGL, and WebGPU.
  • JavaScript Model Training - Provides the capability to define, train, and optimize neural networks using JavaScript.
  • Python-to-JavaScript Model Conversions - Transforms Python Keras or SavedModel formats into optimized JSON and binary formats for web execution.
  • Neural Network Construction - Supports the design and construction of neural networks using both high-level layer abstractions and low-level APIs.
  • Browser-Based Trainers - Provides a framework for building and updating neural networks using real-time sensor data directly within the browser.
  • Node.js ML Execution - Executes machine learning models in server-side Node.js environments using native binaries for high-performance processing.
  • Web-Based Machine Learning - Enables building and running machine learning models directly within the web browser using JavaScript.
  • TensorFlow - Transforms Python-based TensorFlow models into optimized JSON and binary formats for execution in JavaScript environments.
  • WebAssembly Inference Runtimes - Provides a WebAssembly runtime for executing model inference with near-native CPU performance in browsers.
  • WebGPU Accelerations - Leverages the WebGPU API to execute high-performance compute shaders for machine learning workloads.
  • WebGL Tensor Acceleration - Uses WebGL shaders to perform parallel tensor computations on the graphics card.
  • Client-Side Training - Enables the updating and training of machine learning models using real-time sensor data entirely within the web browser.
  • CPU-Based ML Execution - Allows machine learning computations to run on the central processing unit as a fallback when hardware acceleration is unavailable.
  • Data Preparation - Transforms raw datasets through filtering, mapping, shuffling, and batching for model consumption.
  • Graph Model Transformations - Transforms high-level neural network layers into static computational graphs to optimize inference speed.
  • Edge Model - Runs lightweight, pre-trained edge models for tasks like image and object classification with automated data normalization.
  • Model Performance Benchmarking - Provides standardized tests to measure the execution speed and accuracy of models.
  • Weight Sharding - Splits large model weights into smaller binary shards to optimize browser caching and parallel loading.
  • Model Retraining - Supports updating machine learning models on the client side using real-time sensor data.
  • Weight Quantization - Reduces model file size and memory usage by compressing weights into lower-precision formats.
  • TensorFlow Model Inference - Performs inference on compact TFLite model files loaded from URLs using an environment-optimized runtime.
  • Web-Optimized Format Conversions - Converts machine learning models into JSON and sharded binary formats optimized for web browser execution.
  • Cross-Platform Model Execution - Enables the execution of machine learning models across both web browser and server-side environments for consistent performance.
  • Real-Time Vision Classifications - Implements real-time pose estimation, object tracking, and image classification using browser webcam feeds.
  • Model Asset Loading - Fetches serialized model weights and architecture files from remote URLs or local storage.
  • Multi-Format Data Loading - Imports datasets from disk or web sources in various formats for machine learning use.
  • GPU-Optimized Source Compilations - Compiles the library from source to leverage specific CPU instructions for optimized processing speed.
  • Performance Benchmarks - Measures execution time and memory usage across different devices to analyze system performance.
  • Model Conversion - Transforms existing models from various frameworks into compatible formats for execution within JavaScript environments.
  • Keras - Enables loading and converting Keras models for inference and transfer learning in JavaScript environments.
  • WebAssembly Inference Executions - Provides a WebAssembly-based runtime to execute TensorFlow models for portable performance across operating systems.
  • Hardware-Accelerated Routines - Performs low-level linear algebra operations using GPU and other hardware accelerators to optimize complex math.
  • SIMD Parallel Computing - Accelerates computations using multiple CPU cores and SIMD instructions through threaded binaries.
  • Performance Profiling - Records per-operator latency during inference to identify and resolve computational bottlenecks.
  • Deep Learning Frameworks - JavaScript library for training and deploying models in browsers.
  • Machine Learning - WebGL-accelerated ML library for training and deployment.

Star history

Star history chart for tensorflow/tfjsStar history chart for tensorflow/tfjs

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Tfjs

Similar open-source projects, ranked by how many features they share with Tfjs.
  • snowkylin/tensorflow-handbooksnowkylin avatar

    snowkylin/tensorflow-handbook

    3,927View on GitHub↗

    This project is a comprehensive educational resource and tutorial handbook for building, training, and deploying machine learning models using TensorFlow 2. It serves as a structured learning guide covering core deep learning concepts, including neural network architectures, automatic differentiation, and tensor operations. The handbook provides technical guidance on optimizing execution efficiency through GPU memory management, distributed training, and model quantization. It also includes detailed manuals for constructing high-performance data pipelines and exporting models for production s

    Jupyter Notebook
    View on GitHub↗3,927
  • tensorflow/tfjs-coretensorflow avatar

    tensorflow/tfjs-core

    8,437View on GitHub↗

    TensorFlow.js is a JavaScript machine learning library and browser-based runtime used to build, train, and execute models. It functions as a WebGL accelerated tensor engine, providing a foundation for high-performance linear algebra operations and an automatic differentiation framework for computing gradients. The project distinguishes itself through its ability to run machine learning directly in web environments, supporting both client-side inference and browser-based training. It enables the deployment of Python-based models by converting Keras or TensorFlow models into compatible formats

    TypeScriptdeep-learningdeep-neural-networksgpu-acceleration
    View on GitHub↗8,437
  • openvinotoolkit/openvinoopenvinotoolkit avatar

    openvinotoolkit/openvino

    10,414View on GitHub↗

    OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models across CPUs, GPUs, and NPUs through a unified API. It includes a model optimization toolkit for converting, quantizing, and compressing models from various frameworks, alongside a specialized generative AI runtime for large language models. The project distinguishes itself through a plugin-based hardware acceleration layer that maps neural network operations to vendor-specific drivers. It features advanced execution mechanisms such as continuous batching, speculative decoding, and

    C++aicomputer-visiondeep-learning
    View on GitHub↗10,414
  • tingsongyu/pytorch_tutorialTingsongYu avatar

    TingsongYu/PyTorch_Tutorial

    8,018View on GitHub↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    View on GitHub↗8,018
See all 30 alternatives to Tfjs→

Frequently asked questions

What does tensorflow/tfjs do?

TensorFlow.js is a JavaScript machine learning library used for training and deploying models in web browsers and server-side environments. It functions as a browser-based model trainer, a WebAssembly inference engine, and a WebGPU accelerated tensor library for low-level linear algebra. The project also includes a model converter to transform Python-based models into optimized formats for JavaScript execution.

What are the main features of tensorflow/tfjs?

The main features of tensorflow/tfjs are: JavaScript Machine Learning Libraries, Web-Based Model Deployment, Automatic Differentiation, Client-Side Inference, Deep Learning Architectures, GPU-Accelerated Inference, Pluggable Backend Architectures, JavaScript Model Training.

What are some open-source alternatives to tensorflow/tfjs?

Open-source alternatives to tensorflow/tfjs include: snowkylin/tensorflow-handbook — This project is a comprehensive educational resource and tutorial handbook for building, training, and deploying… tensorflow/tfjs-core — TensorFlow.js is a JavaScript machine learning library and browser-based runtime used to build, train, and execute… openvinotoolkit/openvino — OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… tensorflow/tfjs-models — This project is a collection of pre-trained machine learning models and conversion pipelines designed for running… astorfi/tensorflow-world — TensorFlow-World is a collection of tutorials, implementation guides, and model templates for building and training…