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

Function iteratorFromItems

tfjs-data/src/iterators/lazy_iterator.ts:40–42  ·  view source on GitHub ↗
(items: T[])

Source from the content-addressed store, hash-verified

38 * Create a `LazyIterator` from an array of items.
39 */
40export function iteratorFromItems<T>(items: T[]): LazyIterator<T> {
41 return new ArrayIterator(items);
42}
43
44/**
45 * Create a `LazyIterator` of incrementing integers.

Callers 6

arrayFunction · 0.90
iteratorMethod · 0.90
concatenateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…