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

Method getParamsFromCache

web/src/runtime.ts:1206–1209  ·  view source on GitHub ↗

* Get parameters in the form of prefix_i * * @param prefix The parameter prefix. * @param numParams Number of parameters. * @returns

(prefix: string, numParams: number)

Source from the content-addressed store, hash-verified

1204 * @returns
1205 */
1206 getParamsFromCache(prefix: string, numParams: number): TVMObject {
1207 return (this.ctx.paramModuleFromCache(
1208 prefix, new Scalar(numParams, "int32")) as Module).getFunction("get_params")();
1209 }
1210
1211 /**
1212 * Get parameters based on parameter names provided

Callers

nothing calls this directly

Calls 1

getFunctionMethod · 0.45

Tested by

no test coverage detected