MCPcopy
hub / github.com/apache/tvm / tensorCacheUpdate

Method tensorCacheUpdate

web/src/runtime.ts:1244–1246  ·  view source on GitHub ↗

* Update the tensor cache. * @param name The name of the array. * @param arr The content.

(name: string, arr: Tensor, override = false)

Source from the content-addressed store, hash-verified

1242 * @param arr The content.
1243 */
1244 tensorCacheUpdate(name: string, arr: Tensor, override = false) {
1245 this.ctx.tensorCacheUpdate(name, arr, this.scalar(override ? 1 : 0, "int32"));
1246 }
1247
1248 /**
1249 * Clear the tensor cache.

Callers 1

Calls 1

scalarMethod · 0.95

Tested by

no test coverage detected