UNPKG

@hoff97/tensor-js

Version:

PyTorch like deep learning inferrence library

5 lines 298 B
import { WASMTensor } from '../../../tensor/wasm/tensor'; export function repeatIndicesWASM(indices, repeats, shape, repeatsProd) { return new WASMTensor(indices.wasmTensor.repeat_sparse_indices(new Uint32Array(repeats), new Uint32Array(shape), repeatsProd)); } //# sourceMappingURL=wasm.js.map