TensorFlow.js Playground

Experiment with TensorFlow.js code snippets in your browser

Table of Contents

Getting Started

View TensorFlow.js version in the console.

Creating and inspecting Tensors.

Performing basic math ops on Tensors.

Linear Regression

Simple Example

Train a model to learn y=2x-1 using a dense layer.

Neural Networks

Multi-layer perceptron for XOR classification.