MCPcopy Create free account
hub / github.com/tensorflow/tfjs / getUserCode

Method getUserCode

tfjs-backend-webgpu/src/fill_webgpu.ts:40–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 getUserCode(): string {
41 const userCode = `
42 ${main('index')} {
43 if (index < uniforms.size) {
44 setOutputAtIndex(index, uniforms.value);
45 }
46 }
47 `;
48 return userCode;
49 }
50}

Callers

nothing calls this directly

Calls 1

mainFunction · 0.50

Tested by

no test coverage detected