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

Method toPackedFunc

web/src/runtime.ts:1161–1163  ·  view source on GitHub ↗

* Convert func to PackedFunc * * @param func Input function. * @returns The converted function.

(func: Function)

Source from the content-addressed store, hash-verified

1159 * @returns The converted function.
1160 */
1161 toPackedFunc(func: Function): PackedFunc {
1162 return this.toPackedFuncInternal(func, true);
1163 }
1164
1165 private toPackedFuncInternal(func: Function, autoAttachToScope: boolean): PackedFunc {
1166 if (this.isPackedFunc(func)) return func as PackedFunc;

Callers 1

Calls 1

toPackedFuncInternalMethod · 0.95

Tested by

no test coverage detected