MCPcopy Create free account
hub / github.com/apache/tvm / getParamsFromCacheByName

Method getParamsFromCacheByName

web/src/runtime.ts:1217–1219  ·  view source on GitHub ↗

* Get parameters based on parameter names provided * * @param paramNames Names of the parameters. * @returns Parameters read.

(paramNames: Array<string>)

Source from the content-addressed store, hash-verified

1215 * @returns Parameters read.
1216 */
1217 getParamsFromCacheByName(paramNames: Array<string>): TVMObject {
1218 return (this.ctx.paramModuleFromCacheByName(paramNames) as Module).getFunction("get_params")();
1219 }
1220
1221 /**
1222 * Get Tensor from cache.

Callers

nothing calls this directly

Calls 1

getFunctionMethod · 0.45

Tested by

no test coverage detected