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

Method toString

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

Source from the content-addressed store, hash-verified

417 }
418
419 toString(): string {
420 const ret = DLDataTypeCodeToStr[this.code] + this.bits.toString();
421 if (this.lanes != 1) {
422 return ret + "x" + this.lanes.toString();
423 } else {
424 return ret;
425 }
426 }
427
428 numStorageBytes(): number {
429 return (this.bits * this.lanes + 7) >> 3;

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected