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

Method load

jvm/core/src/main/java/org/apache/tvm/Module.java:113–116  ·  view source on GitHub ↗

Load module from file. @param path The path to the module file. @param fmt The format of the file, if not specified it will be inferred from suffix of the file. @return The loaded module

(String path, String fmt)

Source from the content-addressed store, hash-verified

111 * @return The loaded module
112 */
113 public static Module load(String path, String fmt) {
114 TVMValue ret = getApi("ffi.ModuleLoadFromFile").pushArg(path).pushArg(fmt).invoke();
115 return ret.asModule();
116 }
117
118 public static Module load(String path) {
119 return load(path, "");

Callers 4

invokeMethod · 0.95
invokeMethod · 0.45

Calls 4

getApiMethod · 0.95
asModuleMethod · 0.95
pushArgMethod · 0.80
invokeMethod · 0.65

Tested by 2