* Create a new webgpu DLDevice * @param deviceId The device index.
(deviceId = 0)
| 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. |