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

Method cpu

jvm/core/src/main/java/org/apache/tvm/Device.java:71–73  ·  view source on GitHub ↗

Construct a CPU device. @param devId The device id @return The created device

(int devId)

Source from the content-addressed store, hash-verified

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);

Callers 2

emptyMethod · 0.95
cpuMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected