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

Method dispose

web/src/runtime.ts:451–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

449 }
450
451 dispose(): void {
452 if (this.handle != 0) {
453 this.lib.checkCall(
454 (this.lib.exports.TVMFFIObjectDecRef as ctypes.FTVMFFIObjectDecRef)(this.handle)
455 );
456 this.handle = 0;
457 }
458 }
459
460 /**
461 * Get handle of module, check it is not null.

Callers

nothing calls this directly

Calls 1

checkCallMethod · 0.45

Tested by

no test coverage detected