When I saw the produced UMD files I realized that they were extremely large (900kb).
After inspecting this it turned out, that this was due to the tensorflow imports which however aren't used at all.
I would suggest removing these dependencies (shrinking the lib to 20kb) for now and relying on the tflite wasm implementation.
In a second step, support for non wasm can be added again if needed. WDYT?
When I saw the produced UMD files I realized that they were extremely large (900kb). After inspecting this it turned out, that this was due to the
tensorflow
imports which however aren't used at all.I would suggest removing these dependencies (shrinking the lib to 20kb) for now and relying on the
tflite wasm
implementation.In a second step, support for non
wasm
can be added again if needed. WDYT?