concept import in category deep learning

appears as: imports, import
Deep Learning with JavaScript: Neural networks in TensorFlow.js

This is an excerpt from Manning's book Deep Learning with JavaScript: Neural networks in TensorFlow.js.

The JavaScript code will usually be modularized into several files in order to promote good readability and style. In the case of this Boston-housing project, code dealing with updating visual elements resides in ui.js, and code for downloading the data is in data.js. Both are referenced via import statements from index.js.

import * as tf from '@tensorflow/tfjs';
import '@tensorflow/tfjs-react-native';