MCPcopy
hub / github.com/tensorflow/tfjs / f

Function f

tfjs-layers/src/utils/generic_utils_test.ts:263–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 jasmine.createSpy('now').and.callFake(() => timestamps[counter++]);
262 let numCalls = 0;
263 const f = () => numCalls++;
264 const waitMs = 10;
265 const f2 = utils.debounce(f, waitMs, nowFunc);
266 // The first call is ignored since waitMs hasn't passed yet.

Callers 4

f2Function · 0.70
testLoopMethod · 0.50
fitLoopMethod · 0.50
evaluateDatasetFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected