I am new to Tensorflow.js and may have horribly wrong assumptions, please correct me.
I am testing out tfjs in Deno, but I think this question applies to Web Workers in general.
I know that I can transfer buffers, i.e. io.ModelArtifact.weightData, to Web Workers back and forth.
Assuming the weight data, once allocated, lives inside my GPU. It should be way quicker if I can transfer only the handle instead of reading the model into CPU and then transfer it as a buffer.
Is it possible at the moment?