# deeplearnjs **Repository Path**: bit2atom/deeplearnjs ## Basic Information - **Project Name**: deeplearnjs - **Description**: A hardware-accelerated deep learning library for the web. - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Getting started **deeplearn.js** is an open source hardware-accelerated JavaScript library for machine intelligence. **deeplearn.js** brings performant machine learning building blocks to the web, allowing you to train neural networks in a browser or run pre-trained models in inference mode. **deeplearn.js** has two APIs, an immediate execution model (think NumPy) and a deferred execution model mirroring the TensorFlow API. **deeplearn.js** was originally developed by the Google Brain PAIR team to build powerful interactive machine learning tools for the browser, but it can be used for everything from education, to model understanding, to art projects. ## Usage #### From JavaScript Typescript is the preferred language of choice for **deeplearn.js**, however you can use it with plain JavaScript. For this use case, you can load the latest version of the library directly from Google CDN: ```html ``` To use a different version, see the [release](https://github.com/PAIR-code/deeplearnjs/releases) page on GitHub. #### From TypeScript To build **deeplearn.js** from source, we need to clone the project and prepare the dev environment: ```bash $ git clone https://github.com/PAIR-code/deeplearnjs.git $ cd deeplearnjs $ npm run prep # Installs node modules and bower components. ``` To build a standalone library that can be used directly in the browser using a `