0.0.2-beta.3 • Published 3 years ago
@paddlejs/paddlejs-backend-webgpu v0.0.2-beta.3
paddlejs-backend-webgpu
This package implements an experimental backend based on WebGPU for Paddle.js. (https://gpuweb.github.io/gpuweb/)
Importing
You can install the backend package via npm. @paddlejs/paddlejs-backend-webgpu
.
// Import the WebGPU backend and ops
import registerWebGPUBackend from '@paddlejs/paddlejs-backend-webgpu';
// Register the WebGPU backend to the global backend instance before initializing runner
registerWebGPUBackend();
Note: If you want to run webGPU backend demo, you need run it in the Chrome Canary application.
0.0.2-beta.3
3 years ago
0.0.2-beta.2
3 years ago