0.0.2-beta.3 • Published 3 years ago

@paddlejs/paddlejs-backend-webgpu v0.0.2-beta.3

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

中文版

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.