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

Method constructor

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

Source from the content-addressed store, hash-verified

488class ArrayIterator<T> extends LazyIterator<T> {
489 private trav = 0;
490 constructor(protected items: T[]) {
491 super();
492 }
493
494 summary() {
495 return `Array of ${this.items.length} items`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected