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

Method toString

jvm/core/src/main/java/org/apache/tvm/Device.java:229–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 }
228
229 @Override
230 public String toString() {
231 if (deviceType >= RPC.RPC_SESS_MASK) {
232 int tblId = deviceType / RPC.RPC_SESS_MASK - 1;
233 int devType = deviceType % RPC.RPC_SESS_MASK;
234 return String.format("remote[%d]:%s(%d)", tblId, DEVICE_TYPE_TO_NAME.get(devType), deviceId);
235 }
236 return String.format("%s(%d)", DEVICE_TYPE_TO_NAME.get(deviceType), deviceId);
237 }
238}

Callers 13

copyFromMethod · 0.45
asDoubleArrayMethod · 0.45
asFloatArrayMethod · 0.45
asLongArrayMethod · 0.45
asIntArrayMethod · 0.45
asShortArrayMethod · 0.45
asCharArrayMethod · 0.45
asByteArrayMethod · 0.45
groupInternalBytesMethod · 0.45
decodeToStrMethod · 0.45
runMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected