MCPcopy Index your code
hub / github.com/apache/tvm / webgpu

Method webgpu

web/src/runtime.ts:1490–1492  ·  view source on GitHub ↗

* Create a new webgpu DLDevice * @param deviceId The device index.

(deviceId = 0)

Source from the content-addressed store, hash-verified

1488 * @param deviceId The device index.
1489 */
1490 webgpu(deviceId = 0): DLDevice {
1491 return this.device("webgpu", deviceId);
1492 }
1493
1494 /**
1495 * Create an empty {@link Tensor} with given shape and dtype.

Callers 3

asyncInitServerMethod · 0.45
checkFunction · 0.45
checkFunction · 0.45

Calls 1

deviceMethod · 0.95

Tested by 2

checkFunction · 0.36
checkFunction · 0.36