You just need to flatten than into a 1D array, then write the array to tf.getInput() (which is just a 1D array).
Didn't find op for builtin opcode 'ADD' version '1'
Did you use that exact code, or did you modify it at all? The idea of tflite is you only include a subset of the available ops. In Bangle.js I tried to include every op that every tflite for microcontrollers example used, but that means that some of the more general ones won't be there.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You just need to flatten than into a 1D array, then write the array to
tf.getInput()
(which is just a 1D array).Did you use that exact code, or did you modify it at all? The idea of tflite is you only include a subset of the available ops. In Bangle.js I tried to include every op that every tflite for microcontrollers example used, but that means that some of the more general ones won't be there.