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

Method constructor

tfjs-data/src/iterators/lazy_iterator.ts:535–538  ·  view source on GitHub ↗
(protected upstream: LazyIterator<T>)

Source from the content-addressed store, hash-verified

533 private lastRead: Promise<IteratorResult<T>>;
534
535 constructor(protected upstream: LazyIterator<T>) {
536 super();
537 this.lastRead = Promise.resolve({value: null, done: false});
538 }
539
540 summary() {
541 return `${this.upstream.summary()} -> Serial`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected