Construct a CPU device. @param devId The device id @return The created device
(int devId)
| 69 | * @return The created device |
| 70 | */ |
| 71 | public static Device cpu(int devId) { |
| 72 | return new Device(kDLCPU, devId); |
| 73 | } |
| 74 | |
| 75 | public static Device cpu() { |
| 76 | return cpu(0); |