* Create a new DLDevice * @param deviceType The device type. * @param deviceId The device index. * @returns The created device.
(deviceType: number | string, deviceId = 0)
| 1472 | * @returns The created device. |
| 1473 | */ |
| 1474 | device(deviceType: number | string, deviceId = 0): DLDevice { |
| 1475 | return new DLDevice(deviceType, deviceId, this.lib); |
| 1476 | } |
| 1477 | |
| 1478 | /** |
| 1479 | * Create a new cpu {@link DLDevice} |
no outgoing calls
no test coverage detected