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

Method constructor

tfjs-data/src/iterators/lazy_iterator.ts:781–785  ·  view source on GitHub ↗
(
      protected upstream: LazyIterator<I>,
      protected transform: (value: I) => Promise<O>)

Source from the content-addressed store, hash-verified

779
780class AsyncMapIterator<I, O> extends LazyIterator<O> {
781 constructor(
782 protected upstream: LazyIterator<I>,
783 protected transform: (value: I) => Promise<O>) {
784 super();
785 }
786
787 summary() {
788 return `${this.upstream.summary()} -> AsyncMap`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected