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

Function kernelWithMemLeak

tfjs-core/src/engine_test.ts:713–716  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

711 });
712
713 const kernelWithMemLeak: KernelFunc = () => {
714 dataIdsCount += 2;
715 return {dataId: {}, shape: [], dtype: 'float32'};
716 };
717 tf.registerKernel({kernelName, backendName, kernelFunc: kernelWithMemLeak});
718
719 tf.setBackend(backendName);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…