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

Method reset

web/src/memory.ts:325–331  ·  view source on GitHub ↗

* Rest the call stack so that it can be reused again.

()

Source from the content-addressed store, hash-verified

323 * Rest the call stack so that it can be reused again.
324 */
325 reset(): void {
326 this.stackTop = 0;
327 assert(this.addressToSetTargetValue.length === 0);
328 while (this.tempArgs.length != 0) {
329 (this.tempArgs.pop() as Disposable).dispose();
330 }
331 }
332
333 /**
334 * Commit all the cached data to WasmMemory.

Callers 1

recycleCallStackMethod · 0.45

Calls 3

assertFunction · 0.90
disposeMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected