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

Function skip

tfjs-data/src/iterators/lazy_iterator.ts:436–441  ·  view source on GitHub ↗

* Skips the first `count` items in this stream. * * @param count The number of items to skip. If a negative or undefined * value is given, the entire stream is returned unaltered.

(count: number)

Source from the content-addressed store, hash-verified

434 * value is given, the entire stream is returned unaltered.
435 */
436 skip(count: number): LazyIterator<T> {
437 if (count < 0 || count == null) {
438 return this;
439 }
440 return new SkipIterator(this, count);
441 }
442
443 /**
444 * Prefetch the first `bufferSize` items in this stream.

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…