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

Method getDataPtr

web/src/runtime.ts:593–598  ·  view source on GitHub ↗

* Get dataPtr of NDarray * * @returns The handle.

()

Source from the content-addressed store, hash-verified

591 * @returns The handle.
592 */
593 getDataPtr(): Pointer {
594 if (this.handle === 0) {
595 throw Error("Tensor has already been disposed");
596 }
597 return this.dataPtr;
598 }
599
600 /**
601 * Copy data from another Tensor or javascript array.

Callers 2

copyFromRawBytesMethod · 0.95
showImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected