import { o as u, q as m, a5 as f } from "./index-DSGwv2Yx.js";
import { M as i } from "./rand_util-CZ7yLoUm.js";
function c(n, s = 0, e = 1, o, t) {
  if (m(n), o != null && o === "bool")
    throw new Error(`Unsupported data type ${o}`);
  const l = new i(s, e, o, !1, t), r = f(n, o);
  for (let a = 0; a < r.values.length; a++)
    r.values[a] = l.nextValue();
  return r.toTensor();
}
const v = /* @__PURE__ */ u({ randomNormal_: c });
export {
  v as r
};
