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

Method constructor

tfjs-data/src/iterators/lazy_iterator.ts:603–605  ·  view source on GitHub ↗
(protected upstream: LazyIterator<T>, protected maxCount: number)

Source from the content-addressed store, hash-verified

601class TakeIterator<T> extends LazyIterator<T> {
602 count = 0;
603 constructor(protected upstream: LazyIterator<T>, protected maxCount: number) {
604 super();
605 }
606
607 summary() {
608 return `${this.upstream.summary()} -> Take`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected