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

Method cpu

web/src/runtime.ts:1482–1484  ·  view source on GitHub ↗

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

(deviceId = 0)

Source from the content-addressed store, hash-verified

1480 * @param deviceId The device index.
1481 */
1482 cpu(deviceId = 0): DLDevice {
1483 return this.device("cpu", deviceId);
1484 }
1485
1486 /**
1487 * Create a new webgpu {@link DLDevice}

Callers 15

test_sortFunction · 0.45
test_sort_npFunction · 0.45
verifyFunction · 0.45
check_remoteFunction · 0.45
check_localFunction · 0.45
test_save_load_float8Function · 0.45
verifyFunction · 0.45
check_remoteFunction · 0.45
_run_nms_e2eFunction · 0.45

Calls 1

deviceMethod · 0.95

Tested by 15

test_sortFunction · 0.36
test_sort_npFunction · 0.36
verifyFunction · 0.36
check_remoteFunction · 0.36
check_localFunction · 0.36
test_save_load_float8Function · 0.36
verifyFunction · 0.36
check_remoteFunction · 0.36
_run_nms_e2eFunction · 0.36