import { o as e, n as u, J as c, E as l, K as m } from "./index-DSGwv2Yx.js";
function i(t, n = null, o = !1) {
  let s = u(t, "x", "sum");
  s.dtype === "bool" && (s = c(s, "int32"));
  const r = { x: s }, a = { axis: n, keepDims: o };
  return l.runKernel(m, r, a);
}
const f = /* @__PURE__ */ e({ sum_: i });
export {
  f as s
};
