MCPcopy Index your code
hub / github.com/tensorflow/tfjs / newReadIterator

Function newReadIterator

tfjs-data/src/iterators/lazy_iterator_test.ts:283–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281 }
282
283 const newReadIterator = () =>
284 new ParallelFilterIterator((new TestIntegerIterator()).take(10), x => {
285 return x % 2 === 0;
286 });
287
288 // Without enforcing serial execution, order gets scrambled; consequently
289 // the done signal arrives before any of the accepted elements!

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…