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

Method constructor

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

Source from the content-addressed store, hash-verified

698
699class MapIterator<I, O> extends LazyIterator<O> {
700 constructor(
701 protected upstream: LazyIterator<I>,
702 protected transform: (value: I) => O) {
703 super();
704 }
705
706 summary() {
707 return `${this.upstream.summary()} -> Map`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected