Im New to the tensoflow.js, I have problem with creating CNN models because dimension mismatch. I have an 3d array using tf.browser.fromPixels(image);.
tf.browser.fromPixels(image);
B