* Get dataPtr of NDarray * * @returns The handle.
()
| 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. |
no outgoing calls
no test coverage detected