Nekochu commited on
Commit
f57d8e2
路
verified 路
1 Parent(s): be19578

Fix black frame on fp16: read Float16Array output as numbers (not raw bits); report NaN frames instead of failing silently

Browse files

Current Chrome returns float16 tensor data as Float16Array of real numbers; the page indexed a bit-pattern table with them, giving NaN and a black canvas. Both representations are now handled; frame errors surface in the status line.

1 file changed +6 -5
app.js+6-5