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

Method getFunction

web/src/runtime.ts:723–725  ·  view source on GitHub ↗

* Get a function in the module. * @param name The name of the function. * @param queryImports Whether to also query imports * @returns The result function.

(name: string, queryImports = true)

Source from the content-addressed store, hash-verified

721 * @returns The result function.
722 */
723 getFunction(name: string, queryImports = true): PackedFunc {
724 return this.ctx.moduleGetFunction(this, name, queryImports) as PackedFunc;
725 }
726
727 /**
728 * Import another module into the current runtime module.

Callers 8

constructorMethod · 0.45
getFunctionMethod · 0.45
createVirtualMachineMethod · 0.45
getParamsFromCacheMethod · 0.45
test_vm.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected