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

Method get

jvm/core/src/main/java/org/apache/tvm/API.java:40–47  ·  view source on GitHub ↗

Get a tvm api function according by name. @param name function name. @return a TVM Function.

(final String name)

Source from the content-addressed store, hash-verified

38 * @return a TVM Function.
39 */
40 public static Function get(final String name) {
41 Function func = apiFuncs.get().get(name);
42 if (func == null) {
43 func = Function.getFunction(name);
44 apiFuncs.get().put(name, func);
45 }
46 return func;
47 }
48
49 /**
50 * Cannot be instantiated.

Callers 8

getMethod · 0.95
DeviceMethod · 0.45
toStringMethod · 0.45
getApiMethod · 0.45
shapeMethod · 0.45
getApiMethod · 0.45
uploadMethod · 0.45
downloadMethod · 0.45

Calls 2

getFunctionMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected