import { a as u } from "../../index-DSGwv2Yx.js";
import { b as c } from "../../matMulGelu-CsZnh18H.js";
const M = `
    return a * b;
`;
function p(r) {
  const { inputs: n, backend: a, attrs: o } = r, { x: t, kernel: e, y: l } = n, { transposeA: s, transposeB: i } = o;
  if (t === void 0 || e === void 0)
    throw new Error("BatchMatMul requires two input tensors.");
  return c({
    a: t,
    b: e,
    transposeA: s,
    transposeB: i,
    backend: a,
    activationSnippet: M,
    multiplier: l
  });
}
const m = {
  kernelName: "MatMulMul",
  backendName: "webgl",
  kernelFunc: p
};
u(m);
export {
  p as batchMatMulKernel
};
