top of page
tf.expandDims(): adding a new dimension on tensors in TensorFlow,js
Certainly! The tf.expandDims() function in TensorFlow.js is used to modify the shape of a tensor by inserting an additional dimension at...
Jorge Guerra Pires
Mar 29, 20241 min read


Tensors are all zero in tf.browser.fromPixels: loading images from div/canva
You may get all zero values for your tensors using tf.browser.fromPixels when using div/canva for loading your images
Jorge Guerra Pires
Jul 26, 20231 min read


Predicting pneumonia using transfer learning powered by MobileNet
A model using transfer learning using mobilenet cannot just say if some has pneumonia, but also say if it is virus or bacteria!
Jorge Guerra Pires
Jul 25, 20231 min read



Machine learning in JavaScript
bottom of page