UNPKG

@thi.ng/tensors

Version:

0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage

7 lines (6 loc) 125 B
import { defOpN } from "./defopn.js"; const $op = defOpN((x) => x); const setN = (out, n) => $op(out, n); export { setN };