@paddlejs/paddlejs-backend-webgpu

0.0.2-beta.3 • Public • Published

中文版

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.

/@paddlejs/paddlejs-backend-webgpu/

    Package Sidebar

    Install

    npm i @paddlejs/paddlejs-backend-webgpu

    Weekly Downloads

    1

    Version

    0.0.2-beta.3

    License

    ISC

    Unpacked Size

    2.65 MB

    Total Files

    5

    Last publish

    Collaborators

    • yueshuangyan
    • fanzhongkai
    • sukkee