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

Method typeKey

web/src/runtime.ts:482–488  ·  view source on GitHub ↗

get the type key of the object

()

Source from the content-addressed store, hash-verified

480
481 /** get the type key of the object */
482 typeKey(): string {
483 const type_index = this.typeIndex();
484 const typeInfoPtr = (this.lib.exports.TVMFFIGetTypeInfo as ctypes.FTVMFFIGetTypeInfo)(
485 type_index
486 );
487 return this.lib.memory.loadTypeInfoTypeKey(typeInfoPtr);
488 }
489}
490
491/**

Callers

nothing calls this directly

Calls 2

typeIndexMethod · 0.95
loadTypeInfoTypeKeyMethod · 0.80

Tested by

no test coverage detected