MCPcopy
hub / github.com/koodo-reader/koodo-reader / D

Function D

public/lib/onnxruntime-web/ort.min.js:29–29  ·  view source on GitHub ↗
(...E)

Source from the content-addressed store, hash-verified

27 fn get_${e}(${E}) -> ${l} {
28 return get_${e}ByIndices(${I(L)});
29 }`})(),D=(...E)=>{if(E.length!==s)throw new Error(`indices length must be ${s}`);let L=E.map(f).join(",");return s===0?B("0u"):s===1?B(L[0]):(m.get=!0,m.getByIndices=!0,m.indicesToOffset=!0,`get_${e}(${L})`)},Z=E=>s<2?B(E):(m.getByIndices=!0,m.indicesToOffset=!0,`get_${e}ByIndices(${E})`),R=s<2?"":`
30 fn set_${e}ByIndices(indices: ${p.indices}, value: ${l}) {
31 ${G(`i2o_${e}(indices)`,"value")}
32 }`,Q=s<2?"":(()=>{let E=a.map(oe=>`d${oe}: u32`).join(", "),L=a.map(oe=>`d${oe}`).join(", ");return`

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
BFunction · 0.70

Tested by

no test coverage detected