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

Method getApi

jvm/core/src/main/java/org/apache/tvm/Module.java:35–42  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

33 };
34
35 private static Function getApi(String name) {
36 Function func = apiFuncs.get().get(name);
37 if (func == null) {
38 func = Function.getFunction(name);
39 apiFuncs.get().put(name, func);
40 }
41 return func;
42 }
43
44 Module(long handle) {
45 super(handle, TypeIndex.kTVMFFIModule);

Callers 5

getFunctionMethod · 0.95
importModuleMethod · 0.95
typeKeyMethod · 0.95
loadMethod · 0.95
enabledMethod · 0.95

Calls 3

getFunctionMethod · 0.95
getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected