TensorFlow.js Quick Start Tutorial
If you want a detailed physical explanation, watch this professor's breakdown. Now that our model is trained, we can feed it values to make predictions. TensorFlow runs in the context of a session, so we need to call dataSync on the Tensor value to extract the data out into something usable in JavaScript. We can run this method as an event handler when the file of an HTML form input changes. Training a model can be extremely CPU and memory intensive - that's why most models are trained on high-powered GPUs that can distribute billions of matrix multiplication operations efficiently.
May-3-2018, 03:52:52 GMT
- Technology: