xhcao
xhcao
Hi, @rahul-lokesh , dataToGPU returns a WebGLTexture on WebGL backend, but returns a GPUBuffer on WebGPU backend, you could get more information from https://github.com/tensorflow/tfjs/blob/master/tfjs-core/src/tensor.ts#L397 I am trying to enable the...
Hi, @rahul-lokesh , I had already ported the pure GPU pipeline on the webgpu backend, https://github.com/tensorflow/tfjs-examples/pull/867 Because there is an issue of exporting webgpu utilities https://github.com/tensorflow/tfjs/pull/6707, which cannot register webgpu...
Hi, @rahul-lokesh, The underlying object of Tensor is a GLTexture on the webgl backend, but a GPUBuffer on the webgpu backend. Is it convenient to provide your example code here?...
Hi, @rahul-lokesh , I did not find the problem from your code. 1. Could you describe what is the wrong result and the expected one? Is drawing incorrect, or does...
Hi, @rahul-lokesh , there is a problem in your pixel shader, original shader ` var out_color : vec4; let purple = vec4(color, 1.0); return out_color; } ` I think it...
I had merged all your provided code in my example, and fixed the above shader issue, I could see the right result on the canvas. If you still get nothing...
The function could be called by tf.profile, if you want to write unit cases. You could also view the total of tfjs-models' demos, the time could be reduced.
@qjia7 @gyagp PTAL
@satyajandhyala PTAL, thanks.
Also add @guschmue @fs-eire