import { U as o, V as s, W as t } from "./index-DSGwv2Yx.js";
function h(r, e) {
  o(r);
  const n = s(r, e);
  if (n.length !== 1)
    throw new Error("tensor1d() requires values to be a flat/TypedArray");
  return t(r, null, n, e);
}
export {
  h as t
};
