This could be a bug with the wasm backend, or it could be me doing something silly.
In the following snippet https://replit.com/@epi-morphism/tfjs-bug2#index.html 7 tfjs proudces garbage output as shown in this screenshot.

Using the WebGL or CPU backend however produces the below screenshot, which is the expected result (see this https://replit.com/@epi-morphism/tfjs-bug#index.html 5). If this was the cause of using some unsupported op then I’d expect a warning or error logged, but currently nothing out of the ordinary is being written to the console.

Anyone have any idea what the matter is here?