webdnn icon indicating copy to clipboard operation
webdnn copied to clipboard

SymbolicTypedArray#length is wrong in WebGL Backend

Open Kiikurage opened this issue 6 years ago • 1 comments

In WebGL backend, buffer is implemented by using WebGL Texture and the texture size is not always same as actual buffer size (larger than actual).

To fix this problem,

  • In transpiler backend, output actual buffer size information in descriptor
  • In descriptor runner, load and set the information into each buffer instance.

Kiikurage avatar Jan 04 '18 11:01 Kiikurage

I also see this problem

lygstate avatar Jan 13 '18 15:01 lygstate