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

Method typeIndex

web/src/runtime.ts:474–479  ·  view source on GitHub ↗

get the type index of the object

()

Source from the content-addressed store, hash-verified

472
473 /** get the type index of the object */
474 typeIndex(): number {
475 if (this.handle === 0) {
476 throw Error("The current Object has already been disposed");
477 }
478 return this.lib.memory.loadObjectTypeIndex(this.handle);
479 }
480
481 /** get the type key of the object */
482 typeKey(): string {

Callers 3

typeKeyMethod · 0.95
retValueToJSMethod · 0.95
setPackedArgumentsMethod · 0.80

Calls 1

loadObjectTypeIndexMethod · 0.80

Tested by

no test coverage detected