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

Function constructor

tfjs-data/src/iterators/lazy_iterator.ts:836–840  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

834 protected outputQueue: RingBuffer<T>;
835
836 constructor() {
837 super();
838 this.outputQueue = new GrowingRingBuffer<T>();
839 this.lastRead = Promise.resolve({value: null, done: false});
840 }
841
842 async next(): Promise<IteratorResult<T>> {
843 // This sets this.lastRead to a new Promise right away, as opposed to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…