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

Method constructor

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

Source from the content-addressed store, hash-verified

877}
878class FlatmapIterator<I, O> extends OneToManyIterator<O> {
879 constructor(
880 protected upstream: LazyIterator<I>,
881 protected transform: (value: I) => O[]) {
882 super();
883 }
884
885 summary() {
886 return `${this.upstream.summary()} -> Flatmap`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected