# Usage This package implements a JavaScript based CPU backend to TensorFlow.js. ## Importing the backend Note: this backend is included by default in `@tensorflow/tfjs`. ### Via NPM ```js // Import @tensorflow/tfjs-core import * as tf from '@tensorflow/tfjs-core'; // Adds the CPU backend to the global backend registry. import '@tensorflow/tfjs-backend-cpu'; ``` ### Via a script tag ```html ``` You can also get ES2017 code using the following links ```html ```