4.22.0 • Published 5 months ago

@tensorflow/tfjs-backend-webgl v4.22.0

Weekly downloads
23,311
License
Apache-2.0
Repository
github
Last release
5 months ago

Usage

This package implements a GPU accelerated WebGL backend for TensorFlow.js.

Importing the backend

Note: this backend is included by default in @tensorflow/tfjs.

Via NPM

// Import @tensorflow/tfjs-core
import * as tf from '@tensorflow/tfjs-core';
// Adds the WebGL backend to the global backend registry.
import '@tensorflow/tfjs-backend-webgl';

Via a script tag

<!-- Import @tensorflow/tfjs-core -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core"></script>

<!-- Adds the WebGL backend to the global backend registry -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl"></script>

You can also get ES2017 code using the following links

<!-- Import @tensorflow/tfjs-core -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core@2.0.0-rc.4/dist/tf-core.es2017.js"></script>

<!-- Adds the WebGL backend to the global backend registry -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl@2.0.0-rc.4/dist/tf-backend-webgl.es2017.js"></script>
@dannadori/006_handpose-worker-js@0xalter/alter-core@facemoji/mocap4face@infinitebrahmanuniverse/nolb-_tenlinguist2useblockzie-guitensorflow-object-detectiontemporibusadipiscisveltetfvidaoo-browser@camera-processor/virtual-backgroundkml-pipe-tstyzxbsterritorium-proctoringvue-oqylyq-proctoring@ahfowler/gesture@christophe77/sentiment-js@centrapass/component-library@clinth/ixfx-ml@clipdrop/cli@3divi/face-sdk-js-video-engine@3divi/face-sdk-video-engine-js@0xalter/mocap4face@100mslive/hms-virtual-background@coding-blocks/monitorer@dannadori/posenet-worker-js@dannadori/white-box-cartoonization-worker-js@dannadori/facemesh-worker-js@dannadori/handpose-worker-js@dannadori/bisenetv2-celebamask-worker-jsvectorlyzissou-music@dvgs/vgesture@handtracking.io/yoha@elitefit/elitepose@magenta/music@my-curiosity/react-hand-draw@marcellejs/core@neyasbltb_88/face-api.js@everything-registry/sub-chunk-904@jaak.ai/face-detector@olympeio-extensions/lab@rd-works/get-face-status@pxdinc/an-jssdk@scrypted/electron-core@realness.online/web@onfido/active-video-capture@nuralogix.ai/awc-tfjs-face-tracker@nuralogix.ai/tf-face-tracker-worker-ts@peer-ai/peer-aimwmakesensemtr-facemeshobject-detectionv1rumor-corereact-edot-video-chatreact-ml-kitreact-hand-controllersenno-testngeabngx-scanner-face-humanpicup-video-cutoutpose-detect-unipose-detectorreact-prc-sdkskop-apisimiliqueadreact-tfjs-modelsgreenscreenstreamgraphfxhadas-react-image-editorleia-capturekurento-video-sdk@tensorflow/tfjs@virtualscenery/greenscreenstream@zalastax/nolb-_ten@zocks-communications/client-sdk-jsaliyun-queen-engineasr-answeringar-thingscnidus-videoconference-corecutout-video-sdkblink-detectionbody-landmarks-trackeredinumen-viewer-libraryef-pose-testemellibface-techainer-websdkfacemesh-worker-jsfacial-logingaze-detection@simon_he/identify-image@simon_he/identify-person@simon_he/person-opacity-image
4.23.0-rc.0

5 months ago

4.22.0

8 months ago

4.22.0-rc.0

8 months ago

4.21.0

9 months ago

4.20.0

1 year ago

4.20.0-rc.0

1 year ago

4.21.0-rc.0

10 months ago

4.19.0

1 year ago

4.19.0-rc.0

1 year ago

4.18.0

1 year ago

4.18.0-rc.0

1 year ago

4.17.0

1 year ago

4.17.0-rc.0

1 year ago

4.16.0

1 year ago

4.16.0-rc.0

1 year ago

4.15.0

2 years ago

4.15.0-rc.0

2 years ago

4.14.0

2 years ago

4.9.0

2 years ago

4.14.0-rc.0

2 years ago

4.12.0-rc.0

2 years ago

4.13.0-rc.0

2 years ago

4.12.0

2 years ago

4.10.0

2 years ago

4.11.0

2 years ago

4.13.0

2 years ago

4.8.0

2 years ago

4.7.0

2 years ago

4.6.0

2 years ago

4.5.0

2 years ago

4.4.0

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

3.21.0

3 years ago

4.1.0

3 years ago

4.0.0

3 years ago

3.20.0

3 years ago

3.19.0

3 years ago

3.17.0

3 years ago

3.18.0

3 years ago

3.16.0

3 years ago

3.15.0

3 years ago

3.14.0

3 years ago

3.13.0

3 years ago

3.12.0

4 years ago

3.11.0

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.0

4 years ago

3.7.0

4 years ago

3.6.0

4 years ago

3.5.0

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

2.8.6

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.8.5

4 years ago

3.0.0-rc.1

4 years ago

2.8.4

4 years ago

2.8.3

4 years ago

3.0.0-rc.0

4 years ago

2.8.2

4 years ago

2.8.1

4 years ago

2.8.0

4 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-rc.4

5 years ago

2.0.0-rc.3

5 years ago

2.0.0-rc.1

5 years ago