import { o as u, n as a, E as g, al as h, a as l, a1 as m } from "../../index-DSGwv2Yx.js";
import { r as p } from "../../range-BDxO73mk.js";
import { s as N } from "../../stack-z6QE7kmP.js";
function f(e, t) {
  const n = a(t, "indices", "gatherND", "int32"), s = { params: a(e, "x", "gatherND", "string_or_numeric"), indices: n };
  return g.runKernel(h, s);
}
const b = /* @__PURE__ */ u({ gatherND_: f });
function d(e) {
  const { values: t, labels: n, logits: r } = e.inputs, s = n.shape[0], c = p(0, s, 1, "int32"), o = N([c, n], 1), i = b(r, o);
  return m(t, i);
}
const k = {
  kernelName: "EfficientGatherSub",
  backendName: "cpu",
  kernelFunc: d
};
l(k);
