Constructor
new WasmBuffer(exports, size, dtype)
Parameters:
| Name | Type | Description |
|---|---|---|
exports |
Object | The exports object from Go WASM. |
size |
number | Number of elements. |
dtype |
string | Data type (float64, float32, etc.). |
Methods
dispose()
pull() → {NDArray}
- Description:
Pulls data from the WASM buffer back to JS (returns a copy).
- Source:
Returns:
- Type
- NDArray